Developer

URL encode/decode

Encode text for use in URLs (percent-encoding) and decode percent-encoded strings back to text.

Enter Mode, Text / Encoded value, and Use + for spaces to calculate Result. Results update instantly as you type. Try an example preset to sanity-check the tool.

Inputs

Encode uses UTF‑8 and percent-encoding. Decode expects valid % sequences.
Common for application/x-www-form-urlencoded query strings.
Examples
About this tool
  • Inputs: Mode, Text / Encoded value, Use + for spaces
  • Outputs: Result
References
  • MDN: encodeURIComponent()
  • MDN: decodeURIComponent()
Share & embed
Share link
Embed
Need help or found an issue?
Report an issue Suggest a tool