URL Encode & Decode
Encode/decode a full URL (keeps structure characters like :/?&). 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
https://site.com/search?q=hello world
Example Output
https://site.com/search?q=hello%20world
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 URL
URL Encode converts unsafe or non-ASCII characters in a URL into percent form (%XX) per RFC 3986. This version (encodeURI) PRESERVES URL structure characters like :, /, ?, &, and #.
How it works: each disallowed character is converted to its UTF-8 byte representation in %XX format. Decode reverses this. Use this tool for whole URLs, not for a single component/parameter.
URL Encode keeps links valid when they contain spaces, non-Latin characters, or symbols. To encode a SINGLE parameter value (where :/?& must also be encoded), use URI Component.
FAQ
Can this URL 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. URL is processed entirely in your browser. The text you enter never leaves your device.