URL Encoder/Decoder
Encode and decode URLs and query strings instantly. Convert text for safe URL transmission.
Encodes text for use as a URL parameter or query string value. Escapes all special characters except:
- _ . ! ~ * ' ( )
Input
0 characters
Output
0 characters
ℹ️ About URL Encoding
▼
URL encoding (percent encoding) converts characters into a format that can be safely transmitted over the internet. Different methods are used depending on the context:
- encodeURIComponent: Best for query parameters and form data. Encodes everything except
A-Z a-z 0-9 - _ . ! ~ * ' ( ) - encodeURI: For encoding full URLs. Preserves URL structure characters like
: / ? # [ ] @ ! $ & ' ( ) * + , ; = - Encode All: Maximum encoding. Encodes all characters except
A-Z a-z 0-9 - _ .for maximum compatibility