URL Encoder & Decoder

Encode special characters for URLs or decode percent-encoded strings. Supports both full URL and component encoding modes. Runs entirely in your browser.

How It Works

1

Enter your text or URL

Paste a URL with special characters to encode, or a percent-encoded string to decode.

2

Encode or decode

Click to encode special characters into percent-encoded format, or decode them back to readable text.

3

Copy the result

The converted output appears instantly. Copy it to your clipboard with one click.

Frequently Asked Questions

What is URL encoding?

URL encoding (percent-encoding) replaces special characters with a percent sign followed by their hex code — for example, a space becomes %20. This ensures URLs are valid and can be transmitted correctly.

When should I use URL encoding?

Use URL encoding when building query strings, passing special characters in URLs, or working with form data. Characters like &, =, ?, and spaces must be encoded to avoid breaking the URL structure.

Is my data sent to a server?

No. All encoding and decoding runs entirely in your browser. Your data never leaves your device.

What is the difference between Component and Full URL encoding?

Component encoding encodes all special characters including :, /, ?, and & — use this for encoding individual query parameter values. Full URL encoding preserves URL structure characters like :// and ? so the URL remains valid — use this when encoding a complete URL.

Related Tools