How to use
- Choose a mode: encode or decode a component or a full URI.
- Type or paste your text into the input box.
- Copy the converted result from the output box.
Frequently asked questions
What is the difference between component and URI modes?
Component modes (encodeURIComponent / decodeURIComponent) escape every reserved character, ideal for a single query value. URI modes (encodeURI / decodeURI) keep characters like : / ? & intact so a whole URL stays usable.
When should I URL-encode text?
Whenever you put spaces, accents or symbols into a query parameter or path, encoding turns them into safe percent codes like %20 so the link works everywhere.
Is my text sent to a server?
No — encoding and decoding run entirely in your browser, so nothing is uploaded or stored.
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.