URL Encoder / Decoder

Encode or decode URLs and query parameters instantly.

Frequently Asked Questions

What is URL encoding?

URL encoding (also called percent-encoding) replaces special characters with a % sign followed by two hex digits. For example, a space becomes %20. This ensures URLs are transmitted correctly over the internet since URLs can only contain ASCII characters.

What's the difference between Component and Full URI mode?

Component mode (encodeURIComponent) encodes everything except letters, digits, and - _ . ~ β€” ideal for encoding individual query parameter values. Full URI mode (encodeURI) preserves characters that have special meaning in URLs like :, /, ?, #, &, = β€” ideal for encoding complete URLs while keeping the structure intact.

Is my data safe?

Yes. All encoding and decoding happens entirely in your browser using JavaScript. No data is ever sent to any server. You can even use this tool offline.

Can I encode special characters like emojis?

Yes! This tool handles the full Unicode character set including emojis, CJK characters, and other multibyte characters. They are encoded using UTF-8 percent-encoding.