URL Tools
Encode, decode, parse URLs and query strings, convert Base64 — instantly, in your browser.
How to use the URL Encoder
- Paste text or a URL.
- Encode or decode it, parse it into parts, or build a query string.
- Copy the result.
Why use this URL Encoder
- Percent-encode and decode URLs and query parameters
- Parse a URL into protocol, host, path, query and hash
- Build query strings from key/value pairs
- Base64 encoding included
Related tools
Frequently Asked Questions
Is the URL encoder free?
Yes, completely free with no account or signup required.
Is my data safe?
All encoding and decoding happens in your browser. Your data is never uploaded to any server.
What URL tools are included?
URL encode/decode, URL parser (splits a URL into its components), query string parser, and Base64 encode/decode.
What is the difference between URL Encode and Encode URI?
encodeURIComponent encodes everything except letters, digits, and - _ . ! ~ * ' ( ). encodeURI leaves URI structural characters like /, ?, #, :, @ unencoded because they have meaning in a URL.
What is URL encoding?
URL encoding (percent encoding) converts characters not allowed in a URL into a % followed by two hex digits. For example, a space becomes %20 and & becomes %26.
Which characters need to be URL encoded?
Spaces, quotes, angle brackets, curly braces, pipes, and most non-ASCII characters must be encoded. Letters, digits, and the characters - _ . ~ are safe and do not need encoding.
How do I encode a URL with spaces?
Use URL Encode to convert spaces to %20. For example, 'hello world' becomes 'hello%20world' in a URL path or query string.
How do I decode a URL online?
Paste the percent-encoded URL into the Decode tab. The tool converts %20 back to space, %26 back to &, and all other percent-encoded sequences back to their original characters.
How do I parse URL query parameters?
Use the Query String Parser tab. Paste a full URL or just the query string and the tool splits each parameter into a readable key-value list.
What is the difference between URL encoding and Base64?
URL encoding makes a string URL-safe by percent-encoding unsafe characters. Base64 encodes arbitrary binary data as printable ASCII. They serve different purposes and are not interchangeable.