URL Encoder / Decoder
Percent-encode and decode URLs and query strings, in whole-URL or single-component mode — instant and private in your browser.
Plain text
Encoded
How it works
- 1
Pick encode or decode
Choose whether to encode raw text or decode a percent-encoded string.
- 2
Choose the scope
Encode a full URL (keeping separators) or a single component (encoding everything).
- 3
Copy the result
Copy the encoded or decoded string straight into your code or address bar.
Instant & 100% private — nothing is uploaded
Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.
Frequently asked questions
- What is the difference between component and full-URL encoding?
- Component mode (encodeURIComponent) encodes reserved characters like &, = and ? — use it for query values. Full-URL mode (encodeURI) preserves those separators so the URL still works.
- Does it handle spaces and special characters?
- Yes. Spaces become %20, and reserved or non-ASCII characters are percent-encoded as UTF-8, exactly as browsers and servers expect.
- Why does decoding fail sometimes?
- A malformed percent-sequence (for example a stray % not followed by two hex digits) is invalid; the tool flags it so you can correct the input.
- Is my data sent to a server?
- No. Everything runs locally in your browser using JavaScript and WebAssembly. Your input never leaves your device, nothing is uploaded, and nothing is logged or stored.