Skip to content
Merlin Tools

URL encode / decode

Encode and decode URLs and parameters in the browser, with component or whole-address mode. No data sent.

Genuinely free. No sign-up, no email, no limits, no cookies. We don't store the URL you analyse.

Result

Type something to see the result.

«Component» also encodes / ? & = (for a single value); «Whole URL» leaves them (for a full address).

What this tool cannot see

URL encoding makes text transportable inside an address: it isn't encryption and protects nothing. Everything happens in your browser.

What it's for

Percent-encoding lets you put characters into a web address that would otherwise break it or change its meaning. It's a daily need when you build query strings, tracking links or API requests by hand.

It's part of the developer set with the code formatter, the Base64 converter and the JWT decoder.

Frequently asked questions

What's the difference between «component» and «whole URL»?

«Component» (encodeURIComponent) also encodes characters with special meaning like / ? & = : use it for a single value or parameter. «Whole URL» (encodeURI) leaves them intact because they structure the address: use it when encoding a complete URL.

Why is URL encoding needed?

URLs may contain only a limited set of characters. Spaces, accents, symbols and non-Latin characters must be converted to percent-encoding (a space becomes %20, for instance) so the address stays valid and parameters aren't misread.

Is my data sent anywhere?

No. Conversion happens in your browser, in real time: nothing is sent to a server or stored.