Encode & Decode URL — Percent Encoding
Percent-encode one URL component or recover its readable text. This is useful for a search-term value containing spaces or non-ASCII characters, rather than for assembling every part of a complete address.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Numbers stay on your device. Nothing is sent to a server.
How to use this tool
Choose a direction and enter the raw component or encoded string. Supplying an entire URL may encode separators such as the colon and slashes because they are treated as characters inside the value.
Results and examples
Encoding hello world produces hello%20world. Decoding restores the space; encoding that result a second time turns the percent sign into %25 and therefore creates a different value.
Limitations
- Malformed percent sequences can cause decoding to fail.
- The plus-for-space convention of form encoding is distinct from component percent encoding.
Fields
| Field | Guidance and constraints |
|---|---|
| Input | Check the unit and format displayed beside this field. |
| Direction | Encode / Decode |
Data handling
Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.
Sources
Frequently asked questions
How is a space encoded?
Encoding hello world produces hello%20world. Decoding restores the space; encoding that result a second time turns the percent sign into %25 and therefore creates a different value.
Should I encode a whole URL?
Malformed percent sequences can cause decoding to fail. The plus-for-space convention of form encoding is distinct from component percent encoding.
Related tools
You do not need to start over. Continue with the tool that fits your next step.