URL Encoder Decoder

Encode special characters for safe URL transmission or decode percent-encoded URL strings back to readable text.

0 chars0 bytes

What is URL Encoding?

URL encoding (also called percent-encoding) replaces special characters with a percent sign followed by two hexadecimal digits. This ensures URLs contain only safe ASCII characters.

Encoding Types

  • encodeURIComponent - Encodes all special characters. Use for query parameters and path segments.
  • encodeURI - Preserves URL structure characters (: / ? # etc). Use for complete URLs.

Common Encoded Characters

  • Space becomes %20
  • & becomes %26
  • = becomes %3D
  • ? becomes %3F

Keyboard Shortcuts

  • Ctrl + L - Focus input field
  • Ctrl + Enter - Repeat last action
  • Alt + S - Swap input/output
  • Ctrl + Shift + C - Copy result
  • Ctrl + S - Download result
  • Escape - Clear all inputs
  • Tab - Insert spaces
  • Double-click output area - Select all text