Free URL encoder and decoder
Percent-encode or decode any text, and pick the encoding that matches what you are actually building: a single query value, a whole URL, or a form body where a space is a plus sign. Paste a full URL and read its query parameters decoded. Everything runs in your browser, so the token in that URL stays with you.
- ComponentencodeURIComponent. Escapes the reserved characters as well, so / ? & = # + become %2F %3F %26 %3D %23 %2B. Use it on one query value or one path segment.
- Full URIencodeURI. Leaves the characters that hold a URL together (: / ? & = # @) untouched and escapes only spaces and other unsafe bytes. Use it on a whole URL.
- Formapplication/x-www-form-urlencoded. Same as component, except a space becomes + instead of %20. This is what an HTML form posts and what URLSearchParams writes.
Copied to clipboard
How the URL encoder and decoder works
Pick a direction and an encoding
Encode or decode, then choose component encoding for one value, full URI encoding for a whole URL, or form encoding when a space has to become a plus sign.
Convert on your device
The conversion happens in the page as you type, using the same JavaScript functions your own code would call. A broken percent escape is flagged with the character it starts at.
Copy it, or take a URL apart
Copy the result with one click, or paste a whole URL into the parser to see its scheme, host, path, and each query parameter decoded.
Private by design: nothing leaves your browser
The URLs people need to decode are rarely boring ones. They carry API keys, session tokens, password-reset links, signed download links, and internal hostnames. Pasting one of those into a site that posts it to a backend gives the URL away, so this tool never sends it anywhere:
100% client-side
Encoding and decoding use encodeURIComponent, encodeURI, and decodeURIComponent, which are built into your browser. Parsing uses the native URL object. No network request is made while you type.
Nothing stored or logged
There is no account and no history. What you paste lives in the page's memory and is gone when you reload, so a signed link you decoded here is not sitting in anyone's access log.
The same functions your code calls
The result matches what your own runtime produces, because it comes from the same functions. Form mode follows the WHATWG urlencoded serializer, which is what URLSearchParams and an HTML form both use.
Which encoding to pick
- Component encoding for a single value you are dropping into a URL. It escapes
/ ? & = #, so a value containing a slash cannot break out and become part of the path. - Full URI encoding when you already hold a complete URL and only want to clean up spaces and other unsafe characters. It leaves the structural characters alone.
- Form encoding for a request body sent as
application/x-www-form-urlencoded, and for query strings written byURLSearchParams. A space becomes+rather than%20. - When you decode, use the mode the value was written with. Decoding a form-encoded value in component mode turns every space back into a literal plus sign, which is a common way a search query comes back wrong.
Built for developers and technical teams
Anyone who has to read a URL that a machine wrote. BlockSurvey takes the same position on research data with zero-knowledge surveys, where responses are encrypted before they ever reach a server.
Developers
Work out why a query parameter arrived double-encoded, or build a redirect URL that survives being nested inside another one.
Security & IT teams
Decode an obfuscated link from a phishing report or a proxy log to see where it really points, without handing the URL to a third-party site while you do it.
Marketing & analytics
Read the UTM parameters on a campaign link and find the stray space that broke attribution.
Building something that handles sensitive data?
BlockSurvey runs on zero-knowledge surveys, so the responses you collect are never sold or mined. Responses are encrypted on the respondent's device, so the server stores nothing readable.
More free privacy tools
Browse all privacy toolsThese tools run in your browser because that is how we build everything. The same idea, applied to research: privacy-first surveys with end-to-end encryption.