csvjson

URL Encode / Decode

Percent-encode URLs and query parameters, or decode encoded strings back to readable text. Updates as you type.

๐Ÿ”ง

URL Encode is coming soon. In the meantime, try the JSON โ†’ CSV converter, which has flattening built in.

How it works

Live encode/decode as you type

Switch between encode and decode modes. Choose encodeURIComponent (for parameter values) or encodeURI (for full URLs). Output updates on every keystroke.

Example

Encoding a query string parameter containing special characters

Input
user@example.com & plan=pro+trial
Output
user%40example.com%20%26%20plan%3Dpro%2Btrial

Frequently asked questions

When should I use encodeURIComponent vs encodeURI?

encodeURIComponent for individual query parameter values. encodeURI for a full URL where you want to preserve the : / ? # & structure characters.