What is Base64?
Base64 encodes arbitrary binary data as 64 printable ASCII characters, so it can pass through text-only channels such as email or JSON. It expands the data by about a third and provides no secrecy.
Primary sources
Specifications cited by the tools below whose own titles define Base64.
7 tools that work with Base64
Files never leave your browser.
Encoders & Decoders7
Base64 Encoder & DecoderEncode and decode Base64 with automatic direction detection, plus file and data-URI support.Base64 to File ConverterDecode Base64, a data URI or hex back into a downloadable file, with the type detected automatically.Base64 to PDF ConverterDecode a Base64 string into a real, downloadable PDF file.Data URI GeneratorTurn text, SVG or CSS into a data: URI you can inline directly in HTML or stylesheets.File to Base64 ConverterEncode any file — image, PDF, video, font, archive — as Base64, a data URI, hex or a byte array.Multi-Format EncoderEncode text into Base64, hex, binary, URL, HTML entities, ROT13 and more, all at once.PDF to Base64 ConverterEncode a PDF as a Base64 string or a data URI, ready to embed in code.
Related terms
Terms that appear alongside Base64 on the same tools.