URL Encoder & Decoder — Percent-Encode & Decode Online
Percent-encode or decode full URLs and individual query-string components — live, client-side.
encodeURIComponent() — encodeURIComponent — encodes a single query parameter name or value. Encodes everything except A–Z a–z 0–9 - _ . ! ~ * ' ( )
or drop / paste a text file here
Common percent-encoded characters
| Char | Encoded | Char | Encoded | Char | Encoded |
|---|---|---|---|---|---|
| %20 | # | %23 | & | %26 | |
| + | %2B | = | %3D | ? | %3F |
| / | %2F | @ | %40 | : | %3A |
| " | %22 | < | %3C | > | %3E |
| % | %25 | { | %7B | } | %7D |
🔒 All encoding and decoding runs in your browser using the built-in encodeURIComponent / decodeURIComponent functions. Nothing is ever uploaded or sent to any server.
How to Use
- Pick a mode: Encode Component for query-parameter values (most common), Decode Component to reverse it, Encode Full URL for complete addresses, or Decode Full URL to make an encoded URL readable.
- Paste your text or URL into the left pane, drop a
.txtfile onto the drop zone, or click Load example to see a realistic sample. - The encoded or decoded output appears instantly. A ⇄ Swap button lets you send the current output back as input to reverse the operation in one click.
- Click Copy to copy the result, or expand the Common percent-encoded characters reference table for a quick lookup.
Frequently Asked Questions
Related Tools
Encoding & ConversionBase64 Encoder / Decoder
Encode or decode Base64 strings instantly — client-side, no data sent to any server.
JSON & DataJSON Encoder & DecoderFormat, validate, and encode/decode JSON with Monaco editor — lenient parsing, local save, all client-side.
Encoding & ConversionHTML Entity Encoder / DecoderConvert special characters to HTML entities and back.
Encoding & ConversionHex Encoder / DecoderConvert text to hexadecimal and back — great for debugging binary data.