Percent-encode or decode any text, query-string value or full URL — instantly, as you type. Switch between component mode for a single value and full-URL mode for a complete address, handle form-style + spaces, and get a clear explanation when encoded input is invalid instead of a garbled result.
% plus two hex digits — a space is %20, & is %26, é is %C3%A9. So the search term rock & roll: 100% live! encodes to rock%20%26%20roll%3A%20100%25%20live! — safe to place inside any URL.
Fix a repeated term in a pasted URL or query string everywhere at once — the result re-converts live.
Snapshots, pinned conversions and your tools — kept in this browser only, on your device, so you can step back to an earlier conversion. Nothing is uploaded; clear any of it whenever you like.
No snapshots yet — convert something, then “Save snapshot to history”.
Nothing pinned yet — pin a conversion you run often.
No other tools opened yet this session — tools you visit will appear here.
Tap ☆ Pin on any tool below to keep it here.
%XX sequences; Decode turns them back into readable text.&, = and ? so the value can't break the address. Full-URL mode keeps a complete address's structure (: / ? & = #) intact.The two modes differ in which characters they leave alone. Full-URL mode (JavaScript's encodeURI) trusts that your text is already a structured address, so it preserves the separators. Component mode (encodeURIComponent) trusts nothing — use it whenever a value comes from a user, a form or a database.
| Character | Full URL mode | Component mode |
|---|---|---|
: | : (kept) | %3A |
/ | / (kept) | %2F |
? | ? (kept) | %3F |
& | & (kept) | %26 |
= | = (kept) | %3D |
# | # (kept) | %23 |
| space | %20 | %20 (or + in form style) |
é | %C3%A9 | %C3%A9 |
Worked example: in the address https://example.com/menu?dish=crème brûlée&price=$12.50, component-encoding just the dish value gives cr%C3%A8me%20br%C3%BBl%C3%A9e, while full-URL encoding the whole address keeps every :, /, ? and & and encodes only the spaces and accented letters.
The characters most often encoded, with their %XX codes (the byte values are the same in both modes unless the character is structural, as shown above).
| space → %20 | ! → %21 | " → %22 | # → %23 |
| $ → %24 | % → %25 | & → %26 | ' → %27 |
| ( → %28 | ) → %29 | * → %2A | + → %2B |
| , → %2C | / → %2F | : → %3A | ; → %3B |
| < → %3C | = → %3D | > → %3E | ? → %3F |
| @ → %40 | [ → %5B | ] → %5D | ^ → %5E |
| ` → %60 | { → %7B | | → %7C | } → %7D |
Non-ASCII characters take one %XX per UTF-8 byte: é is two bytes (%C3%A9), the euro sign € is three (%E2%82%AC), and most emoji are four. That is why encoded text with accents or emoji gets much longer than the original — the live counter above the result counts the sequences for you.
The full code table, the component-vs-full-URL rules and the space conventions in one keepable file.
URL encoding, also called percent-encoding, replaces characters that are not allowed in a URL with a % followed by two hexadecimal digits — the character's byte value in UTF-8. A space becomes %20, an ampersand becomes %26, and the letter é becomes %C3%A9 because it takes two UTF-8 bytes. Browsers and servers use it so data inside a URL is never confused with the URL's own structure.
Component encoding (JavaScript's encodeURIComponent) is for one piece of a URL, such as a single query-string value: it encodes &, =, ?, / and : so the value cannot break out and change the URL's meaning. Full-URL encoding (encodeURI) is for a complete address: it leaves the structural characters : / ? & = # untouched and only encodes things like spaces and non-ASCII letters.
Both mean a space, in different places. %20 is the general percent-encoding of a space and is safe anywhere in a URL. The + sign is a legacy convention from HTML form submissions (application/x-www-form-urlencoded) and only means a space inside a query string — in a URL path, + is a literal plus. This tool lets you switch between the two with the form-style option.
Only letters, digits and a small set of marks (- _ . ~ and a few reserved characters used as separators) may appear as-is. Everything else — spaces, quotes, <, >, #, %, non-English letters and emoji — must be percent-encoded when it is data rather than structure. The safest rule: if you are putting user text into a URL, component-encode it.
Decoding fails when the input contains a % that is not followed by two hex digits (like %zz or a trailing %), or when a multi-byte UTF-8 character is cut off — for example %C3 on its own, when é needs %C3%A9. This tool reports exactly that instead of guessing, because a partially decoded URL usually means the text was truncated when it was copied.
It is never uploaded. Encoding and decoding run entirely in your browser with JavaScript's built-in encode and decode functions, and nothing you paste is sent to a server or logged. So you can pick up where you left off, your current draft and the snapshots you save are kept in this browser's local storage, on your own device only — clear them any time with the controls under the input box and in the Your session panel.
Yes. Your draft autosaves in this browser as you type, and the Your session panel under the tool lets you save snapshots of conversions, pin the ones you reuse, and restore any of them with one click. Everything is kept in this browser's local storage on your device — nothing is uploaded — and you can delete snapshots or clear the saved draft at any time.
The “Send result to…” bar puts your converted text in the link's URL fragment (the part after the #) and opens the tool you picked with the text already loaded. Browsers never send the fragment to a server, so the handoff stays entirely on your device. It works between the encoding and conversion tools in the suite.
URL Encoder/Decoder is one of 33 free utilities in the suite. Working with other formats? Try the Base64 Encoder/Decoder or the HTML Encoder/Decoder next.