All tools

TOOL / 05

URL Encoder & Decoder

Safely transform spaces, Unicode and reserved characters for use inside URL components. Decode existing values for inspection and debugging.

Your data stays in this browser
Local-firstYour data stays in this browser

FIELD NOTES

Why URLs need encoding

URLs reserve characters such as ?, &, = and # for structure. Percent-encoding represents data bytes without allowing those characters to change the URL's meaning.

This tool uses encodeURIComponent and decodeURIComponent, making it suitable for individual path or query values rather than an entire complete URL.

REFERENCE

URL questions

Should I encode a complete URL?

Usually no. Encode individual path segments or query values.

Why does a space become %20?

Percent-encoding represents the UTF-8 byte for a space as %20.

Does decoding navigate anywhere?

No. It only transforms the text in your browser.