Enter or Upload
Input your text or upload a file
Choose Action
Encode, decode or view information
View Results
See output and extra details
Input (Binary)
101010 111100 110101 ...
Split into 6-bit
101010 111100 110101 ...
Convert to Index
42 60 53 ...
Base64 Characters
q 8 1 ...
100% Private & Secure
All processing happens in your browser. No data is sent to any server.
Encode HTML markup into Base64 so it can be embedded inside JSON, data URIs, or other contexts where raw markup would be ambiguous.
Inlining markup in JSON-encoded test fixtures, transmitting templates through chat, or building data: URLs that carry small HTML documents.
Working with source files? Pair this with CSS Beautifier or use HTML to Base64 for markup-specific payloads.
Can I render the output as an iframe?
Yes — combine with data:text/html;base64,<output> to view it inline. Treat untrusted HTML carefully.