Skip to main content
OTYOnlineToolYard

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
CharEncodedCharEncodedCharEncoded
%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

  1. 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.
  2. Paste your text or URL into the left pane, drop a .txt file onto the drop zone, or click Load example to see a realistic sample.
  3. 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.
  4. 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 & Decoder

Format, validate, and encode/decode JSON with Monaco editor — lenient parsing, local save, all client-side.

Encoding & ConversionHTML Entity Encoder / Decoder

Convert special characters to HTML entities and back.

Encoding & ConversionHex Encoder / Decoder

Convert text to hexadecimal and back — great for debugging binary data.