URL Encoder & Decoder
Turn text into a safe URL query value or decode a percent-encoded string back into plain text. Choose between encoding a single value (encodeURIComponent) and a full URL (encodeURI), and switch spaces between %20 and + for form data.
By Miikka · CalcBrew · Updated
Encoded output
Share:
Which characters get encoded
| Character | Encoded | Component | Full URL |
|---|---|---|---|
| space | %20 | ✓ | ✓ |
| & | %26 | ✓ | — |
| = | %3D | ✓ | — |
| ? | %3F | ✓ | — |
| / | %2F | ✓ | — |
| # | %23 | ✓ | — |
| + | %2B | ✓ | — |
| % | %25 | ✓ | ✓ |
| " | %22 | ✓ | ✓ |
| é | %C3%A9 | ✓ | ✓ |
| A–Z a–z 0–9 - _ . ~ | unchanged | — | — |
The unreserved set A–Z a–z 0–9 - _ . ~ never needs encoding. Reserved characters (: / ? # [ ] @ ! $ & ' ( ) * + , ; =) are legal in a URL when they play their structural role, which is why a full-URL encode leaves them alone while a component encode escapes them. Decoding is the inverse and is safe to run on either form.
Frequently asked questions
Cite this calculator
APA
CalcBrew. (2026). URL Encoder & Decoder. https://calcbrew.com/url-encoderMLA
“URL Encoder & Decoder.” CalcBrew, 2026, calcbrew.com/url-encoder.Link to https://calcbrew.com/url-encoder. Results are estimates; cite the underlying formula or data source for academic work.
Related tools
UUID GeneratorFree UUID generator: create one or hundreds of version 4 (random) or version 7 (time-ordered) UUIDs/GUIDs…XML Formatter & BeautifierFree online XML formatter: pretty-print messy XML with 2 or 4 spaces or tabs, validate it and see the exact…Base64 Encode & Decode OnlineFree Base64 encoder and decoder: convert text to Base64 and Base64 back to text (UTF-8 safe), URL-safe…CSS Formatter & BeautifierFree CSS formatter: beautify minified or messy CSS with consistent indentation (2 or 4 spaces, tabs), one…CSS MinifierFree CSS minifier: strip comments, whitespace and redundant syntax to shrink a stylesheet by 20–40 % without…HTML Encoder & DecoderFree HTML encoder and decoder: escape < > & " ' as HTML entities so code shows as text, optionally encode…
More in Developer Tools · All tools & games