URL encoder and decoder
Encode or decode URL components safely, with malformed escape sequences clearly identified.
Encode text safely for a URL component or decode percent-encoded text back to readable form. It is instant, private and handles Unicode correctly.
Component encoding protects reserved characters
encodeURIComponent escapes characters that would otherwise change the meaning of a query parameter or path segment.
Decoding validates escapes
Malformed percent sequences are reported instead of silently changing the input.
Frequently asked questions
Should I encode a whole URL?
Usually no. Encode individual parameter values; encoding a complete URL also escapes its colon and slashes.
How are spaces represented?
This tool encodes spaces as %20. Some form encoders use a plus sign instead.
Other free tools
- UTM link builder
Build tagged campaign URLs that survive a copy-paste, with the parameters spelled correctly.
- Bulk UTM builder
Turn a CSV of destinations and campaign values into a clean batch of tagged URLs.
- UTM naming consistency checker
Find inconsistent casing, spacing and near-duplicate campaign values before they fragment reporting.
Want the form to collect the answers too?
Hand-written HTML still needs somewhere to post to. formformform gives you the form, the hosting, the responses and the notifications — free while we are in early access.
Start free