Base64 Encoder / Decoder
Encode text to Base64, decode Base64 to text, or convert images to data URIs. All processing runs in your browser.
What Is Base64?
Base64 is a binary-to-text encoding scheme that converts data into an ASCII string using 64 printable characters. It's widely used for embedding images in HTML/CSS, transmitting data in APIs, and encoding email attachments.
How to Use
- Choose Text mode to encode/decode strings, or Image mode for files.
- In Text mode, paste your input and click Encode or Decode. Use Auto-Detect to let the tool guess the direction.
- In Image mode, drop or upload a file to generate a Base64 string, data URI, and img tag.
- Copy any output with one click.
Last updated: March 2026
Frequently Asked Questions
You Might Also Like
JSON Formatter
Beautify, minify, and validate JSON data instantly.
Open toolHTML CSS JS Minifier
Minify or beautify HTML, CSS, and JavaScript with file size savings.
Open toolColour Contrast Checker
Check WCAG 2.1 AA/AAA compliance for any colour pair.
Open toolRegex Tester
Test regular expressions with live highlighting and plain-English explanations.
Open toolNeed Something Custom?
We build bespoke tools, dashboards, and platforms. Let's talk about what you need.
Get a Free ConsultationHave an Idea for a Tool?
Got a tool you wish existed? Need something built just for you? Let us know, we're always looking for the next thing to build.
Suggest a Tool