URL Encoder / Decoder – Free Online Percent-Encoding Tool
Encode or decode URLs and query strings with three encoding modes: component, full URL, and query string. Instant, client-side, with character reference.
Encoding Type
Common Encoded Characters ▾
→%20!→%21#→%23$→%24%→%25&→%26'→%27(→%28)→%29*→%2A+→%2B,→%2C/→%2F:→%3A;→%3B=→%3D?→%3F@→%40[→%5B]→%5DHow to Use
Choose direction & mode
Select Encode or Decode, then pick the encoding type that fits your use case.
Paste your URL or text
Enter the URL or text you want to process. Load an example for a quick demo.
Copy the result
Click Encode/Decode, then copy the result or use Swap & Flip for the reverse operation.
Why Use Our Tool?
Three encoding modes
Component, Full URL, and Query String — covers every common URL encoding scenario.
Swap & Flip
Instantly reverse the operation: output becomes input with flipped direction.
Character reference
Built-in chart of the most common percent-encoded characters.
100% browser-based
No server calls. Uses native browser encoding functions.
Frequently Asked Questions
What is the difference between Component and Full URL encoding?
Component encoding (encodeURIComponent) encodes all special characters including / : ? # — use it for individual values in query strings. Full URL encoding (encodeURI) preserves the URL structure characters so the URL remains functional.
What is Query String mode?
Query String mode encodes each key and value in a key=value&key=value string individually while preserving the & and = separators.
Is my URL data sent to a server?
No. All encoding and decoding uses your browser's built-in encodeURIComponent and decodeURIComponent functions.
What does percent encoding mean?
Percent encoding (also called URL encoding) replaces reserved or non-ASCII characters with a % followed by two hexadecimal digits — for example, a space becomes %20.
Can I flip direction?
Yes. Use the ⇄ Swap & Flip button to move the output to the input and automatically flip the direction between encode and decode.