Online Encode/Decode
Real-time encode/decode for URL, Base64, HTML and more.
Supported Formats
URL Encode
Convert special characters in URLs
Base64
Convert between binary data and text
HTML Entities
Escape special HTML characters
URL Encode/Decode
Handle special characters in URL parameters to prevent corruption or truncation.
Base64 Conversion
Convert between text and binary; useful for embedded images or simple data transport.
HTML Entities
Safely display HTML in pages and avoid injection or rendering issues.
FAQ
What is URL encoding used for?
Percent-encoding converts unsafe characters (spaces, Chinese, etc.) into % followed by hex (e.g., space becomes %20) to ensure correct transmission.
How does Base64 work?
Base64 represents binary data as ASCII strings. Useful for email, CSS, or URL params. This tool supports UTF-8 and Chinese correctly.
What does HTML entity encoding do?
Converts special characters like <, >, & and " into HTML entities like < and > to prevent HTML parsing and improve security.
Is this service free?
Yes, completely free with no login and no usage limits.
Why do I get garbled text after decoding?
Usually due to character encoding mismatch (e.g., mixing UTF-8 and GBK) or incomplete Base64 input. This tool uses UTF-8 by default.
Is my data secure?
All operations run locally in your browser. No data is uploaded to any server.