🔗

Free URL Encoder & Decoder

Encode or decode URLs and query parameters instantly.

← Back to all tools

Advertisement

Result will appear here...

Copied!

Advertisement

How to Encode or Decode a URL

1

Paste your URL or text

Enter the URL to encode, or paste a percent-encoded string to decode back to readable text.

2

Click Encode or Decode

Click "Encode" to convert special characters, or "Decode" to reverse an already-encoded string.

3

Copy the result

Click "Copy" to copy the output to your clipboard for use in your code or browser.

Frequently Asked Questions

What is URL encoding?

URL encoding converts special characters into a % followed by two hex digits. Spaces become %20, & becomes %26 — making the URL safe for transmission.

Why do I need to encode URLs?

URLs can only contain certain ASCII characters. Special characters must be encoded so browsers and servers interpret them correctly.

What characters get encoded?

All characters except letters, digits, and - _ . ~ get encoded. Space → %20, & → %26, = → %3D, / → %2F.

When should I encode query string values?

Always encode individual query parameter values before adding them to a URL to prevent & and = from breaking the URL structure.

Related Tools