URL Encoder / Decoder

Convert text to URL-safe format and back.

Frequently Asked Questions

What characters get encoded?

Characters that have special meaning in URLs (like ?, &, /, :) or are unsafe (like spaces) are replaced with a % followed by their two-digit hex code.

Difference between encodeURI and encodeURIComponent?

This tool uses encodeURIComponent, which encodes the entire string, including characters like / and :. This is best for encoding query parameters.

Is this reversible?

Yes, decoding restores the original text exactly, provided the input was a valid URL-encoded string.