Convert text, images and files to and from Base64 — instantly and privately in your browser.
Base64 is a way of representing any binary data — an image, a file, raw bytes — using only 64 safe text characters, so it can travel through places that only accept text: JSON payloads, data URLs, email attachments, config files. This tool converts in both directions: type or paste text to get its Base64, decode Base64 back to text, turn an image or file into a Base64 data URL you can paste straight into CSS or HTML, and decode a Base64 string back into a downloadable file.
Everything runs locally in your browser, so even large images or sensitive files never leave your device. The text mode is fully Unicode-aware (emoji and accented characters encode correctly), and the file mode shows a live preview for images.