URL Encoder & Decoder

Percent-encode text for URLs or decode it back. Runs entirely in your browser.

📖 Read the guide: What Is URL Encoding? →

Input
Output

How it works

1
Pick a mode
Choose Encode (text → percent-encoded) or Decode (back to text).
2
Enter your text
Type or paste the value or URL you want to convert.
3
Component or whole URL
By default each character is encoded; tick “Whole URL” to keep :/?&= intact.
4
Copy the result
The output updates live — copy it in one click.

Frequently Asked Questions

Also called percent-encoding, it replaces characters that aren’t URL-safe with %XX sequences, like a space becoming %20.

Component encoding (encodeURIComponent) escapes everything; whole-URL encoding (encodeURI) preserves URL structure characters like / : ? & =.

No — encoding and decoding run in your browser.

URL-encode and decode text online for free. Percent-encode a value so it is safe inside a URL — spaces become %20, and other special characters get their %XX equivalents — or decode an encoded string back to plain text. Choose component encoding to escape everything, or whole-URL mode to keep the structure characters like slashes and query separators. Everything runs in your browser, so it is fast and private.