A link with spaces breaks in an email. A query parameter containing β&β silently splits into two parameters. A UTM-tagged URL from an analytics report is full of %20, %3D and %26 and you just want to read it. All of these are URL-encoding problems.
This tool percent-encodes and decodes text for URLs in your browser. βEncode componentβ escapes everything that isn't safe inside a single query value or path segment; βEncode full URLβ escapes only characters that are illegal anywhere in a URL, leaving :/?&=# intact; βDecodeβ turns percent sequences (and + signs) back into readable text.
A fourth button breaks a URL down into protocol, host, port, path, fragment and a decoded list of query parameters β handy for checking what a tracking link actually contains before you click or share it.
Unicode is handled correctly: text such as βΓ€rgerβ, βΪ©Ψ±Ψ§ΪΫβ or emoji is encoded as UTF-8 bytes, which is what every modern browser and server expects.
Each line is processed separately, so you can paste a whole column of values or URLs from a spreadsheet and encode or decode them all at once, keeping one result per line.
How It Works
- Paste text or URLs β one per line if you have several; each line is processed on its own.
- Choose an action β
encodeURIComponentfor values,encodeURIfor whole URLs,decodeURIComponentfor decoding, or the URL breakdown, which uses the browser's WHATWG URL parser. - Copy the result β invalid percent sequences (like a lone β%β) produce a clear error instead of a garbled result.
Compatibility & Support
Supported Input β Output Formats
- Input: any text, URLs, query strings, form-encoded data (
+as space) - Output: percent-encoded or decoded text, UTF-8; URL component breakdown
- Standards: RFC 3986 percent-encoding, WHATWG URL parsing
Unsupported Formats
This is percent-encoding only. Base64 is a different scheme β use the Base64 Encoder/Decoder. HTML entities such as & are not decoded here. Internationalized domain names are shown as the browser parses them (Punycode such as xn-- may appear in the host).
File Size Limits
No practical size limit for pasted text; each line is processed independently, so thousands of URLs convert instantly.
Keep in mind the limits on the other end: browsers handle URLs of tens of thousands of characters, but many servers, proxies and CDNs reject anything over about 8,000, and some older systems stop at 2,048. Encoding makes text longer β every non-ASCII character becomes six to twelve characters β so long encoded query strings are a common cause of mysterious β414 URI Too Longβ errors.
Who Should Use This Tool?
- Students: A student building a search form in a web-development course checks how spaces and ampersands in a query should be encoded.
- Freelancers & Designers: A marketer builds UTM-tagged campaign links and encodes campaign names that contain spaces and ampersands.
- Office Professionals: An analyst decodes long tracking URLs from an ad report to read the campaign, source and medium values.
- Developers: A developer debugging an OAuth redirect decodes the
redirect_uriparameter to find a double-encoding bug.
Key Features / Khusoosiyat
Here's what separates this tool from generic alternatives:
Component vs Full URL
Two encoding modes for values and complete URLs.
Decode + Form Data
Turns %XX sequences and + signs back into text.
URL Breakdown
Lists host, path, fragment and decoded query parameters.
Unicode Safe
UTF-8 encoding for any language and emoji.
Batch by Line
Encode or decode many values at once.
Private
Links with tokens stay in your browser.
Why This Tool Beats the Alternatives
- Explains the difference between component and full-URL encoding instead of guessing.
- Built-in URL breakdown with decoded parameters.
- Clear errors for malformed input.
- No upload β useful for links that contain session tokens.
- Free and instant.
Pro Tips
- Encode each parameter value, not the whole URL, when building links by hand β otherwise
&and=inside values break the query. - If you see
%2520, the text was encoded twice (the % of %20 was itself encoded as %25); decode twice to recover it and fix the code that double-encodes. - Before clicking a suspicious shortened or tracking link, expand it and use the breakdown to see where it really goes β the host line shows the real destination domain, whatever the link text claimed.
Paste your text or URL above and choose Encode, Decode or Break down.