URL Encoder and Decoder
URL-encode or decode percent-encoded strings.
Overview
Encodes text into URL-safe form and decodes it back. URLs can only contain a limited set of characters, so spaces, symbols, and non-English characters have to be percent-encoded to travel safely in a link or query string. It runs in your browser.
How it works
The tool applies percent-encoding: any character that is not allowed directly in a URL is replaced by a percent sign followed by its character code in hexadecimal. A space, for example, becomes %20. Decoding reverses this, turning the percent codes back into the original characters. This lets you safely put arbitrary text into a query parameter or path.
How to use it
- Choose encode or decode.
- Paste your text or encoded string.
- Read the converted result.
- Copy it into your URL or read the decoded value.
Examples
Encoding
A value like "New York" becomes "New%20York" so it can sit safely in a query string.
Decoding
Paste an encoded parameter from a link to read the plain text it stands for.
FAQ
Why do URLs need encoding?
What does %20 mean?
Does it handle non-English characters?
Is my data uploaded?
Related tools
JSON Formatter
Format, validate, beautify, and minify JSON.
Open toolBase64 Encoder and Decoder
Encode text to Base64 or decode it back.
Open toolPassword Generator
Generate strong random passwords with length and character options.
Open toolUUID Generator
Generate v4 UUIDs in bulk.
Open toolHTML Encoder and Decoder
Encode or decode HTML entities.
Open toolEmbed this tool
Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.