No upload, 100% local, no account

URL Encoder / Decoder

Encode special characters in URLs, or decode percent-encoded strings. Everything stays in your browser.

How URL Encoder / Decoder works

URL encoder and decoder percent-encodes any string so it is safe to embed in a URL query parameter, or decodes a percent-encoded string back to human-readable text. It handles both the full URL and the component-by-component approach, so you can encode just a parameter value without accidentally encoding the slashes of the path.

Encode-component escapes everything including ? and &, for a single parameter value; encode-full-URL keeps the structural characters (://, /, ?, &, =) intact. You can also choose whether a space becomes %20 or the form-style + shorthand.

Frequently asked questions

Is the text I enter sent anywhere?

No. Encoding and decoding run entirely in your browser using the standard JavaScript encodeURIComponent and decodeURIComponent functions, plus custom handling for edge cases. Nothing is transmitted to Sunasty or any third party.

When should I use "encode component" versus "encode full URL"?

Encode component is for a single query parameter value or path segment, it encodes everything including ? and &. Encode full URL is for a complete URL where you want to preserve the structural characters (://, /, ?, &, =) and only encode the characters inside each part.

Why do spaces sometimes become + and sometimes %20?

Both are valid encodings for a space in different contexts. %20 is the strict percent-encoding used everywhere in a URL. + is a shorthand for space used only inside query strings (application/x-www-form-urlencoded). The tool lets you choose which convention you need.

Does it work offline?

Yes, once the page has loaded. Because the processing happens on your device, you can disconnect from the network and the tool keeps working. This is the clearest proof that your data never leaves your machine.

Is it free? Do I need an account?

It is completely free and requires no sign-up. There are no watermarks, no daily limits and no tracking cookies needed to use the tool.