URL Encoder/Decoder

Encode and decode URL strings, batch support

Input
Output

About URL Encoder/Decoder

URL encoder/decoder converts special chars to percent-encoded format or back. Full URL and component encoding modes, batch processing, fully local.

How to Use

  1. Paste raw or encoded URL
  2. Choose encode or decode
  3. Select full URL or component mode
  4. Copy result

Frequently Asked Questions

encodeURI vs encodeURIComponent?
encodeURI preserves structure chars (:/?#&); encodeURIComponent escapes all non-alphanumeric chars. Use the latter for query values.
Why does URL encoding make strings so long?
Chinese chars are 3 bytes in UTF-8, each byte becomes %XX (3 chars). One Chinese char β†’ 9 chars. Normal and not harmful.
When do I need URL encoding?
Spaces, non-ASCII, + & = in URLs; GET form submission; building API URLs. Without it, URLs may be truncated.