Encoding & Hashing
URL Encoder / Decoder
Percent-encode a query value or a whole URL — and decode either — without mangling existing %XX sequences.
- Input
- fmtText
- Output
- TEXT
- Runs
- Your browser
shortAnswer
ToolBoxAll's URL Encoder applies correct percent-encoding in two scopes: parameter values (encodeURIComponent) and whole URLs (encodeURI, which keeps :/?# intact). Decoding reverses either scope, and malformed % escapes are reported instead of producing a broken link.
- keyFact
- Two scopes: parameter value vs whole URL
- keyFact
- Decoding rejects malformed % escapes
- keyFact
- Handles Chinese, spaces and reserved characters
reviewedOn 2026-11-20
Output
Output appears here as you run the tool.
Tip: this tool runs entirely in your browser — your input never leaves the device.
How it works
three steps- 01
Pick encode or decode and the matching scope.
- 02
Paste the value — Chinese and spaces are handled.
- 03
Copy the encoded string for your request.
About this tool
Two scopes matter: encodeURIComponent escapes every reserved character (use it for a parameter value), while encodeURI keeps :/?# intact (use it for a whole address). Pick the scope that matches your intent and the result stays valid.
| Input | fmtText |
|---|---|
| Output | TEXT |
| Batch | One at a time |
| Per-file limit | — |
| Processing | Your browser |
| Account | Not required |