URL Encoder / Decoder

Encode and decode URL percent-encoding online, entirely in your browser. Handles spaces, special characters, and every encoding step correctly.

Input
Output

What this URL encoder does

Percent-encodes or decodes text for safe use in URLs and query strings. Spaces become %20, special characters become their percent-encoded forms, and everything is reversible.

Encode vs decode

Encoding is for putting untrusted text into a URL. Decoding is for reading data that has already been percent-encoded. Use the Both mode to see each line encoded and decoded side by side.

Frequently asked questions

What is URL percent-encoding?

It replaces characters that are unsafe in URLs with a % sign followed by two hex digits. Spaces become %20 and reserved characters get their own encoded forms, so any text can travel safely in a URL.

Why does my text encode differently?

encodeURIComponent encodes more aggressively than the simpler encodeURI — everything except letters, digits, and a few marks. This tool uses the component form, which is correct for query string values.

Does it upload my data?

No. Encoding and decoding run entirely in your browser — your text never leaves this page.

Does URL Encoder / Decoder upload my data?

No. URL Encoder / Decoder runs entirely in your browser — your input never leaves this page.

Is URL Encoder / Decoder free to use?

Yes. URL Encoder / Decoder is completely free, with no account and nothing to sign up for.

Updated 2026-08-08 · Runs in your browser — your data never leaves this page.