URL Component Encoder and Decoder

Encode and decode URL text online.

Copied successfully.

How URL Component Encoder and Decoder works

Encode a string as a URL component, or decode percent-encoded component text.

Steps

Paste a parameter value, encode it before adding it to a URL, or decode a saved component.

Example to check

The text 'a & b' becomes a%20%26%20b. An Arabic query value is encoded using UTF-8 percent sequences.

Limits and review

This uses encodeURIComponent and decodeURIComponent, not a complete URL normalizer. Encoding a whole URL also encodes its separators. A plus sign is not automatically converted to a space; malformed escapes are rejected.

Where your data goes

Your selected files and entered content are processed in your browser. Processing does not upload them to a conversion, QR or AI API. The site serves the scripts, fonts and any OCR models needed for the task.

Base64 Encoder Decoder → HTML Formatter & Minifier → CSS Formatter & Minifier → Browse all 48 free tools →