Skip to content
AldeaCode Logo
Format100% local · 0 bytes sent

URL Encoder and Decoder

Encode any text to be safe inside a URL parameter, or decode a percent-encoded string back. Two modes: component (encodes :/?#&=) for query values, or full URI (leaves reserved chars alone) for whole URLs.

Loading…

How it works

Component mode uses encodeURIComponent / decodeURIComponent which escape all reserved URL characters. Full URI mode uses encodeURI / decodeURI which leave : / ? # & = alone (intended for whole URLs). Both round-trip Unicode through UTF-8 percent encoding.

How to use it

  1. Paste text or URL

    Drop in a string with special characters to encode, or a percent-encoded value to decode back to readable text.

  2. Pick component or full URI

    Component encodes :/?#&= for query values. Full URI leaves reserved chars alone, intended for whole URLs.

  3. Run the encode or decode

    We use encodeURIComponent/encodeURI or their decode counterparts. Unicode round-trips through UTF-8 percent encoding.

  4. Copy the result

    Take the encoded value into a query string, an OAuth redirect, a CMS field, or any URL parameter that needs to survive parsing.

Use cases

Build a query string with special characters (spaces, &, =).

Decode a redirect URL with %xx escapes.

Inspect what a URL really contains under the encoding.

Check why a parameter is breaking on the server side.

Round-trip Unicode text through URLs safely.

Your data never leaves your browser

Every utility runs entirely on your device. Nothing is uploaded, nothing is stored on a server. You can disconnect from the internet and they keep working.

Frequently asked questions

Related tools