| Character | Encoded | Description |
|---|---|---|
| (space) | %20 | Space character |
| ! | %21 | Exclamation mark |
| # | %23 | Hash / fragment |
| $ | %24 | Dollar sign |
| & | %26 | Ampersand |
| ' | %27 | Apostrophe |
| + | %2B | Plus sign |
| / | %2F | Forward slash |
| : | %3A | Colon |
| = | %3D | Equals sign |
| ? | %3F | Question mark |
| @ | %40 | At sign |
Need the full list for reserved characters and Unicode? See the URL encoding special characters table with %20, %3B, %2F, UTF-8, and FAQ examples.
Paste any text or web address above and this tool percent-encodes or decodes it the instant you type — no upload, no signup, no waiting. Pick encodeURIComponent for query values, encodeURI for full links, or switch to decode to turn %20, %2F, and %C3%A9 back into readable text. Everything runs locally in your browser, so the data you paste stays on your machine.
URLs can only safely carry a limited set of characters from the ASCII range. When you need to include spaces, slashes, semicolons, ampersands, accented letters, emoji, or any other non-ASCII text, those characters must be percent-encoded to keep links valid across browsers, servers, CDNs, and APIs. Skip the step and you get broken links, dropped query parameters, 400 errors from API gateways, and tracking tags that silently lose data after the first & or #.
Here is how the same text changes depending on the mode you choose:
red shoes & socks → red%20shoes%20%26%20socks (encodeURIComponent — safe as a query value)https://site.com/path with space → https://site.com/path%20with%20space (encodeURI — structure preserved)café/münchen → caf%C3%A9%2Fm%C3%BCnchen (UTF-8 bytes, then percent-encoded)a=1&b=2 typed as one value → a%3D1%26b%3D2 so the = and & are treated as data, not delimiters- _ . ~. Best for query parameter values.: / ? # [ ] @ ! $ & ' ( ) * + , ; =. Best for full URLs./ separators.application/x-www-form-urlencoded format (spaces become +).& or = can't corrupt the request. See URL encoding for API development.%2520 (an already-encoded %20) and decode once to recover the original value.New to the topic? Start with What is URL encoding? or compare the JavaScript functions in encodeURI vs encodeURIComponent.
A practical guide to JavaScript URL encoding functions, with examples for full URLs, path segments, query parameters, and common bugs.
Compare form URL encoding and JSON request bodies for APIs, forms, webhooks, OAuth, and server integrations.
Learn how to decode a URL by hand and in code. Convert %20, %2F, %3D, and UTF-8 sequences back to readable text, fix double encoding, and avoid common bugs.
Master URL encoding in JavaScript. Understand the difference between encodeURI(), encodeURIComponent(), decodeURI(), and decodeURIComponent() with practical examples.
Understand the URL standard behind percent-encoding, including reserved characters, unreserved characters, and when encoding is required.
Master URL encoding in API development. Learn how to safely encode query parameters, handle authentication tokens, build API clients, and avoid common encoding pitfalls.
Find percent encodings for URL special characters fast: space %20, semicolon %3B, slash %2F, plus %2B, reserved chars, and Unicode examples.
Learn how query parameters are structured, how to encode names and values correctly, and how to avoid broken API requests.
Learn how Unicode characters and international text are handled in URLs. Understand UTF-8 byte encoding, IDN/Punycode for domain names, and multilingual best practices.
Learn what URL encoding (percent-encoding) is, why it exists, and how it transforms special characters into a safe format for use in web addresses.
More Developer Tools
Random IBAN
randomiban.co
Random IMEI
randomimei.com
Random MAC
randommac.com
UUID Gen
createuuid.com
Password Gen
password-generator.co
Lorem Ipsum
makelorem.com
JSON Format
jsonformat.co
Hex to ASCII
hextoascii.co
Base64
base64decode.co
Hash Gen
hashgenerator.co
Char Counter
charcounter.io
QR Code
makeqrcode.io
Morse Code
decodemorse.com
Binary Text
texttobinary.io
HTML Entities
htmlentities.io
Age Calc
calculateage.io
Compound Calc
compoundcalculator.io