URL Encoder / Decoder
Encode or decode URL components and query strings.
About the URL Encoder / Decoder
Spaces, ampersands, and special characters break URLs unless they are percent-encoded. Use this tool to encode a URL component before appending it to a query string, or decode an encoded URL to see its readable form.
How to use the URL Encoder / Decoder
- Toggle between Encode and Decode.
- Paste your input string.
- The result appears instantly. Copy it with one click.
Frequently Asked Questions
- What is the difference between encodeURI and encodeURIComponent?
- encodeURI encodes a full URL, preserving characters like '/' and '?'. encodeURIComponent encodes a single parameter value and escapes those characters too. This tool uses encodeURIComponent for maximum compatibility.
- Does it handle the '+' sign in query strings?
- Yes. Plus signs in query parameters are properly decoded as spaces.
Related guides
About this tool
All processing happens entirely in your browser. No data is uploaded to any server.
Developer Tools