How to Use
- Enter text or URL
Type or paste the text or URL you want to encode into the input area.
- Encode / Decode
Click "Convert" to URL-encode. Use "Swap" to switch to decode mode.
- Copy result
Use the "Copy" button to copy the result to your clipboard.
Features
- encodeURIComponent / decodeURIComponent compliant
- Full Unicode and multibyte character support
- Browser-based processing (no data sent to server)
- Mobile-friendly responsive design
- Dark mode support
FAQ
What is URL encoding?
URL encoding (percent-encoding) represents characters that cannot be used in a URL using a percent sign followed by two hexadecimal digits. For example, a space becomes %20 and the Japanese character "あ" becomes %E3%81%82.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL but preserves reserved characters like :/?#[]@!$&'()*+,;=. encodeURIComponent also encodes these reserved characters, making it ideal for encoding query parameter values. This tool uses encodeURIComponent.
Is my data sent to a server?
No. All encoding and decoding happens locally in your browser via JavaScript. No data is ever transmitted externally.