URL Encoder / Decoder

Encode or decode URLs and URI components.

Input
Output

About URL Encoding

URL encoding replaces unsafe ASCII characters with a percent sign followed by two hexadecimal digits. Encode URI preserves URL structure. Encode Component encodes everything — useful for query parameter values.

How to Use

Enter or paste a URL in the input field. Use "Encode URI" to encode special characters while preserving the URL structure, or "Encode Component" to encode everything. Use "Decode" to convert an encoded URL back to its original form.

What is URL Encoding?

URL encoding (also called percent-encoding) converts characters into a format that can be safely transmitted over the Internet. Unsafe characters are replaced with a percent sign (%) followed by two hexadecimal digits. For example, a space becomes %20.

Encode URI vs Encode Component

Encode URI preserves the structure of a URL (keeps :, /, ?, #, etc.) and is suitable for encoding a complete URL. Encode Component encodes everything including special URL characters, making it ideal for encoding individual parameter values in a query string.

Copied!