Encode or decode URL strings and query parameters for safe use in web addresses.
Text to Encode
Encoded Output
Encoded URL / String
Decoded Output
Full URL to Encode
Result
How to Use
1
Choose modeSelect Encode to encode text, Decode to decode a URL string, or Full URL for complete URL encoding.
2
Enter textPaste the text or URL you want to encode or decode into the input field.
3
Click the buttonClick Encode or Decode to process the text.
4
Copy resultUse the Copy button to copy the encoded/decoded result to your clipboard.
5
Use in URLsUse encoded text safely in URL parameters and query strings.
π All encoding/decoding happens locally in your browser. Nothing is uploaded.
About URL Encoder / Decoder
Working with code and configuration files often means switching between formats, encoding strings, or validating syntax. URL Encoder / Decoder eliminates the need for desktop software or command-line utilities by giving you a clean, instant interface right in your browser. Paste your input, get your result β no accounts, no installations, no data leaving your machine.
Frequently Asked Questions
URL encoding (percent-encoding) converts characters that are not allowed in URLs into a % followed by two hex digits. For example, a space becomes %20, and & becomes %26.
encodeURIComponent encodes all special characters including /, ?, &, =, # and more. encodeURI preserves characters that are valid in a full URL (like /, :, ?, &). Use encodeURIComponent for individual parameter values and Full URL mode for complete URLs.
In HTML form submissions, spaces are sometimes encoded as + (application/x-www-form-urlencoded). In standard URL encoding (percent-encoding), spaces are encoded as %20. This tool uses %20.
You need to URL-encode when passing special characters in query parameters (e.g. search terms with spaces, accented letters, or special symbols like &, =, #). Without encoding, these characters can break your URL.