URL Encoder & Decoder
Convert spaces and reserved characters into percent-encoded URL strings (%20, %26, %3D) or decode percent-encoded URLs back to readable text. Switch between encodeURIComponent (for query parameter values) and Full URI (encodeURI) modes with live malformed-sequence validation.
How to Use URL Encoder & Decoder
Select **URL Encode** or **URL Decode** at the top left, then choose one of the two encoding scopes on the top right: **encodeURIComponent (Recommended)** (escapes all reserved URI delimiters including `:`, `/`, `?`, `&`, `=`, `+`, and `#` so a string can be safely inserted inside a query parameter) or **Full URI (encodeURI)** (keeps valid URL structure characters like `https://`, `/`, `?`, `&`, and `=` intact while encoding spaces as `%20` and non-ASCII characters). As you type or paste in the left box, the right box outputs the converted string immediately—or displays a **Malformed URI sequence** alert if a `%XX` token in Decode mode is not valid hexadecimal. Use **Swap** to flip the output back into the input box and **Copy** to copy the result. Note that URL percent-encoding is a public character-escaping rule for safe HTTP transmission, not a form of URL encryption. For Base64 payloads or QR links, check our Base64 Encoder & Decoder and QR Code Generator.
- 1
Choose URL Encode or URL Decode
Click URL Encode to convert spaces and symbols into %XX sequences, or URL Decode to restore readable text.
- 2
Pick encodeURIComponent or Full URI Mode
Select encodeURIComponent for individual query values or Full URI (encodeURI) for complete web addresses.
- 3
Paste Your URL or Query Parameter
Enter your string in the left input box and check the live character count and converted output on the right.
- 4
Swap Modes or Copy Output
Click Swap to test round-trip encoding/decoding or click Copy to copy the result to your clipboard.
Comparing encodeURIComponent vs. Full URI (encodeURI) on a Query URL
encodeURIComponent escapes structural delimiters (: / ? & =), whereas encodeURI only escapes spaces and unsafe characters.
68 characters containing protocol slashes, query delimiters (? & =), and spaces.
encodeURIComponent escapes : / ? & = and spaces (%20) · encodeURI escapes only the spaces (%20).
Full URI (encodeURI): https://toolorahub.vercel.app/search?q=free%20tools%20&%20mode=client-side.
Related Free Tools
Explore more browser-based tools in Daily & Text Utilities or browse the complete All Tools Directory.
Format, beautify, validate, and minify JSON online with 2-space or 4-space indentation, syntax error alerts, copy, and .json download.
Generate static 400×400 px PNG QR codes for website URLs, plain text, Wi-Fi networks, email links, and phone numbers with custom colors.
Encode plain text to Base64 or decode Base64 strings back to UTF-8 text online with live validation and swap.
Clean messy text online: remove multiple spaces, trim line starts and ends, remove empty lines, strip HTML tags, join into a single line, or strip non-ASCII characters.