URL Encoder / Decoder

URL Encoder / Decoder

Encode text for safe use in a URL, or decode an encoded URL back to readable text.

Component mode encodes every special character, including &, = and ?. Full-URL mode keeps the URL structure (://, ?, &, =) intact and only encodes spaces and other unsafe characters.

About the URL Encoder Decoder

Converts text into percent-encoded form for safe use in URLs (encoding) and turns encoded URLs back into readable text (decoding). Essential when URLs contain spaces, special characters, or non-English letters.

How to use

  1. Paste your text or URL into the box.
  2. Click Encode to convert unsafe characters — e.g. a space becomes %20, & becomes %26.
  3. Click Decode to reverse an encoded string back to readable text.

Key features

  • Percent-encoding (RFC 3986): each unsafe character becomes % plus two hex digits of its UTF-8 bytes (é becomes %C3%A9).
  • Handles query parameters, full URLs, and form data, where spaces become + in form encoding.
  • Runs in the browser, so URLs with tokens or keys are not uploaded.

Frequently asked questions

Why can't URLs just contain any character?

A URL safely holds only letters, digits, and a few symbols (- . _ ~); characters like spaces, &, ?, and = would break the URL's structure.

What is double encoding?

Encoding an already-encoded string turns %20 into %2520, so the server receives the literal text %20 instead of a space.

Free to use, no signup needed. This tool runs entirely in your browser — your data never leaves your device.