URL Encoder / Decoder
Encode text as a URL component or decode percent notation and form-style plus signs. The controls help inspect a query value without validating a whole address.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Loading the tool. If it does not appear, reload this page.
How to use this tool
Choose encoding or decoding and enter the value. This decoder first changes + to a space, so represent a literal plus as %2B when it must survive decoding.
Results and examples
Decoding a+b yields a b, while a%2Bb yields a+b. Encoding uses encodeURIComponent, which can turn separators in a complete URL into characters inside one value.
Limitations
- Malformed percent encoding can produce an error.
- The decoder’s plus handling means every component string does not necessarily round-trip unchanged.
Fields
| Field | Guidance and constraints |
|---|---|
| Input | Check the unit and format displayed beside this field. |
| Result | Check the unit and format displayed beside this field. |
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 do I preserve a literal plus?
Decoding a+b yields a b, while a%2Bb yields a+b. Encoding uses encodeURIComponent, which can turn separators in a complete URL into characters inside one value.
Should I enter the entire URL?
Malformed percent encoding can produce an error. The decoder’s plus handling means every component string does not necessarily round-trip unchanged.