Skip to content

How URL Encoder works

Paste a URL to encode or decode special characters, or break it into its component parts for inspection.

Uses the built-in encodeURIComponent/decodeURIComponent and the URL constructor for parsing.

Questions

What characters are encoded?
Characters outside the unreserved set (letters, digits, hyphens, underscores, periods, tildes) are percent-encoded.
Is this the same as Base64 encoding?
No. URL encoding replaces unsafe characters with percent codes. Base64 converts binary data to an ASCII string.
Can I parse query strings?
Yes. Paste a full URL and the tool will split it into protocol, host, path, query parameters, and fragment.

More Text & Data tools

All the tools · How to check that nothing is sent

URL Encoder, Decoder & Parser | Only in the Tab