Skip to content
Developer

URL Encode / Decode

Free online URL encoder and decoder. Percent-encode text for safe use in query strings and URLs, or decode encoded URLs back to readable text — all client-side, nothing uploaded.


URLs can only safely carry a limited set of characters, so spaces, ampersands, question marks, and anything non-ASCII have to be percent-encoded before they go into a query string or path. This tool encodes any text into that web-safe form using the same rules as encodeURIComponent, and decodes percent-encoded strings back to plain, readable text.

It's handy for building or debugging API requests, sharing links with special characters, and untangling those long encoded strings you find in redirect URLs. Paste your input, pick Encode or Decode, and copy the result. Malformed input on decode is caught and reported instead of throwing. Everything runs locally in your browser.

Frequently asked questions

Which encoding does this use?

Encoding uses encodeURIComponent, which percent-encodes characters like spaces, &, ?, =, and #, making the result safe to drop into a query-string value.

What if the encoded string is malformed?

If a string can't be decoded — for example a stray % sign with no valid hex after it — the tool reports an error rather than producing broken output.

Is my input sent anywhere?

No. All encoding and decoding happen in your browser. Nothing is uploaded or stored.

Add the URL Encode / Decode to your site.

Ship it as a ranking page on your own domain in minutes.

Start free →