Skip to content
Tiny Tools

URL Encoder / Decoder

Encode text for safe use in URLs or decode percent-encoded URLs back to readable text. Unicode-safe, instant and entirely browser-based.

About this tool

Convert text to and from URL percent-encoding. Encoding replaces unsafe characters (like spaces, &, ? and non-ASCII letters) with %-escapes so they can travel safely in a URL or query string; decoding reverses the process.

The tool is Unicode-aware, correctly handling accented letters and emoji, and runs entirely in your browser.

Examples

  • "hello world & more" → "hello%20world%20%26%20more"
  • Decode "%E2%9C%93" → "✓"
  • Optionally encode spaces as "+" for query strings

Frequently asked questions

What is URL encoding?

URL (percent) encoding represents characters that are not allowed in a URL using a "%" followed by their hexadecimal byte value, so the URL stays valid.

When should I encode a space as %20 vs +?

Use %20 in the path portion of a URL. The "+" form is mainly used in query strings (application/x-www-form-urlencoded); the tool offers both.

What happens with invalid input on decode?

If the input is not valid percent-encoding, the tool shows a clear error instead of producing garbled text.

More tools