How to use
- Choose a mode: encode or decode a component (encodeURIComponent / decodeURIComponent) or a full URI (encodeURI / decodeURI).
- Type or paste the URL or text into the input box.
- See the converted percent-encoded or decoded result appear live in the output box.
- Click Copy to grab the result and paste it wherever you need it.
Frequently asked questions
What is the difference between component and URI modes?
Component modes (encodeURIComponent / decodeURIComponent) escape every reserved character, which is ideal for a single query string value or path segment. URI modes (encodeURI / decodeURI) keep structural characters like : / ? & # intact so a whole URL stays usable as a link.
When should I URL-encode text?
Whenever you put spaces, accents or symbols into a query parameter or URL path, encoding turns them into safe percent codes like %20 or %C3%A9 so the link works reliably across browsers, servers and messaging apps.
Is my text uploaded to a server?
No. Encoding and decoding run entirely in your browser using the built-in JavaScript functions, so nothing is uploaded, logged or stored anywhere. Your text stays 100% private.
Why do I get an error when decoding?
Decoding fails if the input contains a malformed or incomplete percent sequence — for example a stray % or an invalid pair like %ZZ. Check that every % is followed by two valid hex digits, then try again.
Does it handle Unicode, emoji and accented characters?
Yes. The encoder converts Unicode characters — including accents and emoji — into UTF-8 percent-encoded sequences, and decoding reconstructs the original text exactly.
Is there a limit on how much text I can convert?
There is no fixed character limit. Because everything is processed locally in your browser, you can encode or decode long URLs and large blocks of text as fast as your device allows.
About this tool
Encode or decode URLs and query parameters with encodeURIComponent, decodeURIComponent, encodeURI or decodeURI. Live conversion in your browser — nothing is uploaded or stored.