Developer tool
URL Encode and Decode
Encode spaces and reserved characters for a URL, or decode a percent-encoded string back to readable text.
Processed in your browser. The text is not sent to our servers.
How to URL-encode text
- Paste a query value, path segment, or full string.
- Choose Encode to turn spaces and reserved characters into percent-encoding.
- Choose Decode to turn a percent-encoded string back into readable text.
Frequently asked questions
Which characters get encoded?
Encode uses encodeURIComponent, so spaces, punctuation, and non-ASCII characters are percent-encoded. Letters and numbers stay as they are.
Is the text uploaded?
No. Encoding and decoding run in your browser and the text is not sent to our servers.
Related developer tools
Keep working without leaving the site.
JSON Formatter
Format, validate, and minify JSON.
Open toolBase64 Encode
Encode or decode Base64 text.
Open toolHash Generator
Create SHA-256 and other checksums.
Open toolCSV to JSON
Turn CSV rows into a JSON array.
Open toolJSON to CSV
Turn a JSON array of objects into CSV.
Open toolJWT Decoder
Read a token header and payload.
Open toolXML Formatter
Indent XML so the structure is easier to read.
Open toolYAML to JSON
Turn YAML keys and lists into JSON.
Open toolCron Explainer
Read a cron expression in plain language.
Open tool