Skip to content
CodexValley

URL Encoder & Decoder

Available

Percent-encode a value or a whole URL, or decode one, and find broken sequences.

Use the tool

Everything runs in your browser. Your text is not uploaded or stored.

About this tool

Percent-encode a piece of text so it is safe inside a URL, encode a whole URL while keeping its structure, or decode text that is full of %20 and similar codes.

How it works

  • Encoding a value replaces every character that has a special meaning in a URL, such as space, &, = and /, with a % code.
  • Encoding a whole URL keeps the characters that give it structure, such as : / ? & and =.
  • Decoding turns the % codes back into characters, reads + as a space, and warns about broken sequences.

Common questions

When should I encode a value and when a whole URL?

Encode a value when you put it inside a query string or path. Encode a whole URL only when it contains spaces or non-English letters but is otherwise built correctly.

Why does decoding say a sequence is broken?

A % must be followed by two hex digits. Text such as 100% or %E0%A4%A breaks that rule and cannot be decoded safely.

Your text is processed in your browser and is never uploaded.