URL Encoder / Decoder
Encode or decode URLs using percent-encoding instantly.
What Is URL Encode / Decode?
URL encoding (also called percent-encoding) is the process of converting characters that are not allowed in a URL into a safe format using a percent sign followed by two hexadecimal digits. For example, a space character becomes %20, and an ampersand becomes %26. URL decoding reverses this process, converting percent-encoded sequences back into their original characters. URL encoding is essential when building query strings, passing parameters in GET requests, and constructing API endpoints that contain special characters.
How to Use URL Encoder / Decoder
- Select Encode or Decode mode.
- Paste your URL or text into the input panel.
- The encoded or decoded result appears instantly in the output panel.
- Click Copy to copy the result to your clipboard.
Features
- Encode URLs using standard percent-encoding
- Decode percent-encoded URLs back to readable text
- Instant real-time conversion as you type
- Copy result to clipboard in one click
- Runs entirely in your browser — no data uploaded
FAQ
What is URL encoding?
URL encoding (percent-encoding) converts characters that are not allowed in URLs into a % followed by two hexadecimal digits. For example, a space becomes %20 and & becomes %26.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, preserving characters like /, ?, &, and #. encodeURIComponent encodes a single URL parameter value, converting those characters too. Use Component mode when encoding query string values.
When should I URL encode query parameters?
Always encode query parameter values before appending them to a URL. Unencoded special characters like &, =, +, and spaces will break the URL structure.
Is my data sent to a server?
No. All encoding and decoding is performed locally in your browser using the built-in encodeURIComponent and decodeURIComponent functions.