Drop any file and get its Base64 representation. Useful for embedding assets in CSS, HTML, or JSON config files.
Drop a file here
or click to browse
BASE64
Reads any file and outputs its raw Base64 representation — without the data URI prefix.
Text encoding uses the browser's built-in btoa and atob functions with proper UTF-8 handling. File reading uses the FileReader API — entirely within your browser, with no upload.
All encoding and decoding happens inside your browser tab. The text or file you provide is never sent to a server — it stays entirely on your device.
Any file your browser can read — images, PDFs, fonts, audio, and more.
There's no hard limit, but very large files (100 MB+) may slow down the browser.
No. The conversion uses the FileReader API which reads the file into memory locally.