Encode and decode URLs for web compatibility. Convert special characters to percent-encoded format and back to readable text.
Original: Hello World! @#$%^&*()
Encoded: Hello%20World%21%20%40%23%24%25%5E%26%2A%28%29
Original: Café résumé naïve
Encoded: Caf%C3%A9%20r%C3%A9sum%C3%A9%20na%C3%AFve
Original: ?name=John Doe&city=New York
Encoded: %3Fname%3DJohn%20Doe%26city%3DNew%20York
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
Convert special characters to percent-encoded format and vice versa.
Break down URLs into components like protocol, domain, path, and query.
Track encoding changes and character statistics.
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.