Input Text
URL Encoded Output
What is URL Encoding?
URL encoding (also known as percent-encoding) converts characters into a format that can be transmitted over the Internet. Special characters are replaced with a "%" followed by two hexadecimal digits.
Example
Original: Hello World!
Encoded: Hello%20World%21
Original: name=John Doe&age=25
Encoded: name%3DJohn%20Doe%26age%3D25
Common Use Cases
- Encoding query parameters in URLs
- Passing data through GET requests
- Creating shareable links with special characters
- Building API request URLs
- Encoding form data for submission
Frequently Asked Questions
What is URL encoding?
URL encoding (percent-encoding) converts special characters into a format that can be safely transmitted over the Internet. Characters are replaced with a "%" followed by two hexadecimal digits (e.g., space becomes %20).
Which characters get URL encoded?
Reserved characters (like ?, #, [, ], @, !, $, &, =, +, ,, ;) and non-ASCII characters (Unicode, accented letters) are encoded. Spaces become %20, and special symbols are converted to % followed by hexadecimal values.
When should I use URL encoding?
Use URL encoding when creating query strings, passing parameters in GET requests, building API URLs, creating shareable links with special characters, or submitting form data that contains reserved characters.
How does URL encoding differ from other encoding methods?
URL encoding specifically handles percent-encoding for web transmission, unlike HTML entity encoding (which handles & codes) or Base64 encoding (which handles binary data). Each serves different purposes in data processing.