Encode text or file data as Base64 in your browser for test payloads, data transport, and development examples.
Base64 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format.
Common uses: Email attachments, embedding images in HTML/CSS, storing binary data in JSON, API responses.
Size overhead: Base64 encoding increases data size by approximately 33% due to the 6-bit to 8-bit conversion.
Supported formats: Text, images, documents, and any binary file type.
Base64 represents binary data using a restricted text alphabet. Use the encoder when an interface expects a Base64 string instead of raw file bytes or ordinary text. Choose the input type that matches your source and review the generated output before copying it.
Encode Hello World! to obtain SGVsbG8gV29ybGQh. For file input, check whether your receiving application expects only the Base64 content or a complete data URL.
Base64 is an encoding, not encryption. Anyone with the result can decode it. Encoded output is usually larger than the original data.
Select Encode or Decode for the task you want to perform. Enter text or open a supported file in the input panel. Review the result and copy or download it using the available output controls.
Base64 is an encoding, not encryption. Anyone with the result can decode it. Encoded output is usually larger than the original data.
No registration, no tracking of your content, no server uploads. Don't just take our word for it:
Your files and text are processed entirely on your device. Nothing is ever sent to us.
Once loaded, this tool keeps working with your Wi-Fi turned off. Try it.
Open your browser's DevTools → Network tab. You'll see zero requests carrying your data.
Discover other powerful utilities designed to supercharge your workflow and boost productivity.
Turn text-based PDF statement transactions into an Excel-compatible table you can review, filter, and organize locally.
Extract transactions from a text-based PDF bank statement into a CSV file, with local processing and a review table.
Remove the background from a PNG image and save a new PNG cutout with transparent or solid-color surroundings.