URL Encoder / Decoder
Free URL encoder and decoder: Percent-encode or decode URLs and query parameters. Choose UTF-8, Windows-1252, ISO-8859, and more. Toggle component vs full-URI encoding.
Related Dev Tools
Frequently Asked Questions
What is URL encoding?
URL encoding (percent-encoding) replaces unsafe characters with %HH sequences so they can travel in a URL. Spaces become %20, for example.
Which character encodings are supported?
Popular options include UTF-8, ASCII, ISO-8859-1, ISO-8859-2, ISO-8859-6, ISO-8859-15, and Windows-1252. Others include Big5, CP850, GBK, Shift_JIS, and UTF-16. The encoding is used to turn text into bytes before percent-encoding (and back again when decoding).
When should I use component mode?
Use Encode URI component for query values, path segments, or form fields. Turn it off to encode a full URL while keeping : / ? & structure.
Is this the same as JavaScript encodeURIComponent?
Yes, when Character encoding is UTF-8 (the default). Component mode uses encodeURIComponent and decodeURIComponent. Full-URI mode uses encodeURI and decodeURI. Other encodings percent-encode that charset’s bytes instead.