URL Encoder / Decoder

Percent-encode text for URLs, or decode it back — instantly, in your browser.

How it works

URLs can only contain a limited set of characters, so spaces, accents and symbols must be "percent-encoded" — a space becomes %20, an ampersand becomes %26, and so on. This tool encodes your text into a URL-safe form or decodes it back, using your browser's built-in functions. Everything runs locally, so nothing is uploaded, and the result is ready to paste into a link, an API call or a query string.

Component vs whole URL

By default the tool encodes a single value — the safest choice when you're building one query-string parameter or a path segment, because it escapes everything including / ? & =. Tick "Encode whole URL" to preserve those structural characters, which is what you want when encoding a complete address that already contains a scheme, path and query. Decoding mirrors the same choice, so pick the mode that matches how the value was originally encoded.

Typical uses

Developers URL-encode search terms, redirect targets and any user input that goes into a link, and decode incoming parameters to read them. It's also useful for debugging — pasting a messy encoded URL and decoding it to see what it really contains. Because it runs entirely in your browser, you can encode or decode sensitive parameters without sending them to a server.

Frequently asked questions

What's the difference between the two modes?

Component mode escapes every reserved character (for one value); whole-URL mode keeps : / ? & = # intact so a full address stays usable.

Why did decoding show an error?

A malformed percent-sequence (like a lone %) can't be decoded. Fix or remove it and try again.

Is my data uploaded?

No. Encoding and decoding happen entirely in your browser and nothing you enter leaves your device.