URL Encoder & Decoder

What is URL Encoding?

URL encoding converts characters into a format that can be transmitted over the Internet. It replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits (e.g., Space becomes %20).

Free URL Encoder & Decoder

Encode special characters for safe transmission in URLs. Fix broken links and debug query parameters instantly.

RFC Compliant

Converts characters closely following RFC 3986 standards for URI percent-encoding.

UTF-8 Support

Correctly handles Unicode characters (emojis, non-Latin scripts) by converting them to byte sequences.

Fix Links

Repair broken links caused by spaces, quotes, or other unsafe characters in the URL path.

Why Encode URLs?

URLs can only accept a limited set of ASCII characters. Any character outside this set (like spaces, `&`, `?`) must be converted to `%XX` hex format.

  • Query Parameters

    If you pass a URL inside another URL (e.g., `?redirect=...`), the inner URL must be encoded to avoid ambiguity.

  • Form Data

    Browsers automatically encode form submissions (application/x-www-form-urlencoded) before sending to the server.

Technical Details

Percent-Encoding

Unsafe characters are replaced with a `%` followed by two hexadecimal digits representing their ASCII value. For example, a space (ASCII 32) becomes `%20`.

Reserved Characters

Certain characters like `:`, `/`, `?`, `#`, `[`, `]`, and `@` are "reserved" because they serve as delimiters in URLs. They must be encoded if used as data within the URL.

UTF-8 Support

Non-ASCII characters (like emojis `😊` or Cyrillic letters) are first converted to UTF-8 byte sequences, then each byte is percent-encoded.

How to use

1

Input URL

Paste your URL or text containing special characters.

2

Convert

Click "Encode" to safely encode into URL format, or "Decode" to revert.

3

Get Link

Copy the result and test your new safe link.