Skip to content
ConvertPassConvertPass home

Developer

URL encoder and decoder

Apply or reverse percent-encoding without a round trip to a server.

This tool processes files and text locally in your browser. Your content is not uploaded or stored by this site.

0 B
Empty

Empty. Paste text, drop a file, or load the example.

What this tool does

Encode uses encodeURIComponent, which is correct for query parameters, not for entire URLs. Decoding accepts % sequences and treats + as a space.

How to use it

  1. Choose encode or decode.
  2. Paste the parameter or encoded string.
  3. Copy the result into your URL builder.

Supported input

  • UTF-8 text, up to 2 MB

Output

  • Percent-encoded text or decoded UTF-8

Privacy

This tool processes files and text locally in your browser. Your content is not uploaded or stored by this site.

ConvertPass does not include your input in analytics, URLs, or error reports. Encoding: UTF-8. Limit: 2 MB (2.00 MB).

Limitations

  • Do not encode a full URL with this tool if you still need :// and / intact. Encode each component.
  • Malformed % sequences fail instead of being skipped.

Example

Input
London, UK
Output
London%2C%20UK

Troubleshooting

The whole URL broke after encoding
Encode the query value only, not the scheme and host.

FAQ

Is this the same as encodeURI?

No. encodeURI leaves URL punctuation alone. This tool uses encodeURIComponent, which is the usual choice for a single parameter.

Why did + become a space?

application/x-www-form-urlencoded uses + for spaces. Decoding follows that convention.

Are emojis supported?

Yes. They are encoded as UTF-8 percent sequences.

Can I decode twice?

Only if the value was encoded twice. Double decoding of a single-encoded string can throw or produce garbage.

Related tools

Related guides

Related formats

Last reviewed 16 August 2026. Report a problem. Reports do not include your input.