URI Component Encode & Decode
Encode/decode a single URI component (all symbols including :/?& are encoded). This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.
Everything runs in your browser. Your data is never sent to our servers.
Example
Example Input
hello world & friends
Example Output
hello%20world%20%26%20friends
How to Use
- 1Choose Encode or Decode mode at the top.
- 2Type or paste your text into the Input field.
- 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
- 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.
About URI Component
URI Component Encode (encodeURIComponent) encodes ALL characters that aren't alphanumeric or -_.!~*'() — including :, /, ?, &, and =. It is used for a single value to be inserted into a URL.
How it works: each special character is converted to %XX (UTF-8). Unlike plain URL Encode, here even URL delimiter characters are encoded so they don't break structure when the value is embedded.
Use URI Component when building a query string by hand — e.g. putting search text, a token, or a path into a parameter, so the value isn't misread as part of the URL.
FAQ
Can this URI Component tool both encode and decode?
Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.
Is my data sent to a server?
No. URI Component is processed entirely in your browser. The text you enter never leaves your device.