URL Encode & Decode
Encode or decode URL components instantly in your browser. Handles percent-encoding and special characters. No signup, no install. Free forever.
What is URL Encode & Decode?
URL encoding (also called percent-encoding) replaces special characters with a percent sign followed by two hex digits so they travel safely inside HTTP requests. Spaces become %20, ampersands become %26, and so on. This tool encodes a raw string into a safe URL component, or decodes a percent-encoded string back to human-readable text — instantly in your browser.
Frontend developers, API testers, backend engineers, and anyone building or debugging HTTP requests use URL encoding constantly. If you've ever seen a query string break because an ampersand was unescaped, or had to manually decode a URL to read its parameters, this tool eliminates both problems in one click. It's also essential when building redirect rules, OAuth flows, or deep links.
Everything runs in your browser — your data never leaves your device. No account needed, no sign-up, no server upload. Just paste and go.
How to use
Frequently asked questions
Yes. Everything happens in your browser using JavaScript's built-in encoding functions. Nothing is sent to a server.
No server-side limit. The constraint is only your browser's memory, which can handle very long strings.
No. All useTool tools are completely free and require no sign-up.
encodeURI encodes a full URL and leaves characters like /, ?, and # intact. encodeURIComponent encodes a single query parameter value and escapes those characters too. This tool uses encodeURIComponent for the Encode mode.
Both %20 and + represent spaces in URLs, but + is only valid in query strings (application/x-www-form-urlencoded). %20 is the correct percent-encoding and works everywhere.
