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.
Working with source files? Pair this with CSS Beautifier or use HTML to Base64 for markup-specific payloads.
Encode HTML markup into Base64 so it can be embedded inside JSON payloads, data URIs, or any context where raw markup would be ambiguous. The bytes are transmitted unchanged.
Combine the output with the prefix data:text/html;base64, to render the result as an inline document. Treat any markup from untrusted sources with care.
Yes — combine with data:text/html;base64,<output> to render inline. Treat untrusted markup carefully.
Yes, every byte is preserved. If you render the result as a data URL, those scripts will execute in that context.
No. Whitespace, comments, and quoting all survive exactly.
No — encoding is local to this tab.