Loading...
Please wait while we prepare your experience
Loading...
Please wait while we prepare your experience
Paste a URL or query string and get the encoded or decoded version instantly. Handles encodeURIComponent, full URL encoding, and Base64. Nothing is sent anywhere.
All encoding and decoding happens instantly in your browser — nothing is sent to any server. Use encodeURIComponent for query string values, encodeURI for full URLs, and Base64 for binary-safe text encoding.
Pick your mode, paste your input, and copy the result — done in seconds.
Choose encode or decode
Select Encode to convert special characters to percent-encoded form, or Decode to convert them back to readable text.
Paste your URL or string
Paste the URL, query string, or text you want to process. The tool handles the full URL or just a component.
Pick the encoding type
Use encodeURIComponent for query parameters and path segments. Use encodeURI for full URLs. Use Base64 for binary-safe encoding.
Copy the result
Copy the encoded or decoded output and use it in your code, browser address bar, or API request.
A query parameter breaks the URL
Values like &, =, and spaces in query strings need encoding or the URL parser splits them incorrectly. Encode the value before appending it.
An API response has percent-encoded URLs
APIs sometimes return encoded paths. Decode them to read the actual route and parameter values without squinting at %2F and %3D.
A redirect URL contains another URL
When a redirect target is itself a URL parameter, the inner URL must be encoded so the outer parser doesn't treat its ? and & as its own.
Inspecting a form submission payload
HTML forms encode data as application/x-www-form-urlencoded. Decode the payload to see exactly what was submitted.
A webhook arrived with encoded characters
Webhook endpoints often arrive with percent-encoded paths. Decode to see the original route and parameters.
Sharing a link with spaces or special characters
A URL with spaces or accented characters breaks in some email clients and messaging apps. Encode it first.
Found a problem with Url Encoder? Let us know.
Your feedback helps us improve.