Encoding Tools

URL Encoder/Decoder

Encode and decode URLs for web compatibility. Convert special characters to percent-encoded format and back to readable text.

Input

Output

Statistics

Input Length: 0
Output Length: 0
Encoded Chars: 0
Operation: -

URL Components

URL Encoding Examples

Special Characters

Original: Hello World! @#$%^&*()

Encoded: Hello%20World%21%20%40%23%24%25%5E%26%2A%28%29

Unicode Characters

Original: Café résumé naïve

Encoded: Caf%C3%A9%20r%C3%A9sum%C3%A9%20na%C3%AFve

Query Parameters

Original: ?name=John Doe&city=New York

Encoded: %3Fname%3DJohn%20Doe%26city%3DNew%20York

Full URL

Original: https://example.com/path with spaces/file.html?q=test&name=John Doe

Encoded: https://example.com/path%20with%20spaces/file.html?q=test&name=John%20Doe

Features

Encode/Decode

Convert special characters to percent-encoded format and vice versa.

URL Analysis

Break down URLs into components like protocol, domain, path, and query.

Statistics

Track encoding changes and character statistics.

About URL Encoding

URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI). It converts characters that are not allowed in a URL into a format that can be transmitted over the internet.

Characters are encoded as %XX where XX is the hexadecimal representation of the character's ASCII value. For example, a space character (ASCII 32) becomes %20, and the plus sign (+) becomes %2B.

When to Use URL Encoding:

  • • Query parameters in URLs
  • • Form data submission
  • • API endpoints with special characters
  • • File names in URLs