URL Encode / Decode

Encode special characters for URLs or decode percent-encoded strings instantly.

Input (Text)
Chars: 0 Size: 0 B
Output (Encoded)
Chars: 0 Size: 0 B Ratio:

What is URL Encoding?

URL encoding (also called percent-encoding) converts special characters into a format that can be safely transmitted in URLs. Characters like spaces, &, =, ?, and non-ASCII characters are replaced with %XX hex codes. For example, a space becomes %20 and & becomes %26. This ensures URLs work correctly across all browsers and servers.

Component vs Full URL

Component mode (default) encodes all special characters — use this for encoding query parameter values, form data, or any text that will be embedded in a URL. Full URL mode preserves URL structure characters like ://, /, ?, &, and # — use this when encoding an entire URL while keeping its structure intact.

How to Use

  1. Choose Encode or Decode mode
  2. Select Component (for values) or Full URL (for whole URLs)
  3. Type or paste your text in the input panel — it converts in real-time
  4. If a valid URL is detected, a URL Breakdown table shows all parsed parts
  5. Use Swap to quickly switch input and output