Encode text to Base64 or decode Base64 strings instantly. Supports UTF-8 and file encoding.
Last updated: February 23, 2026
0 characters
Drag & drop a file here, or click to browse
Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 ASCII characters (A-Z, a-z, 0-9, +, /). It is designed to carry data stored in binary formats across channels that only reliably support text content.
Base64 encoding takes every three bytes (24 bits) of input and splits them into four 6-bit groups. Each 6-bit value maps to one of the 64 characters in the Base64 alphabet. If the input length is not a multiple of three, padding characters (=) are added to the output.
data:image/png;base64,... eliminates extra HTTP requests.username:password in Base64 before sending it in the Authorization header.Base64 encoding increases data size by approximately 33% because three bytes of input become four bytes of output. This trade-off is acceptable for small assets but can be costly for large files. For images above a few kilobytes, serving them as separate files with proper caching is usually more efficient than inlining as Base64.
The browser-native btoa() function only handles Latin-1 characters. To encode Unicode text (emojis, CJK characters, etc.), the input must first pass through TextEncoder to produce UTF-8 bytes, which are then Base64-encoded. This tool handles Unicode automatically.
Encode text to Base64 or decode Base64 strings instantly. Supports UTF-8 and file encoding. This tool runs in-browser for fast results without account setup.
Yes. Base64 Encoder / Decoder is free to use on ConvertCrunch.
Results depend on the inputs and assumptions you provide. Always validate final numbers or outputs against your official workflow before publishing or filing.
ConvertCrunch tools are built for immediate use with no signup required.
This tool is part of larger workflows. Open a hub to continue with the next relevant tools.
Continue your workflow with these tools from the same playbook.
PDF Merger
Merge multiple PDFs into a single document.. Free online, browser-based tool with instant results and no signup.
PDF to Word Converter
Convert PDF documents to editable Word format.. Free online, browser-based tool with instant results and no signup.
JSON to CSV / CSV to JSON Converter
Convert between JSON and CSV formats instantly. Supports custom delimiters, nested objects, and file upload.
ZIP Compressor
Compress files into ZIP archives.. Free online, browser-based tool with instant results and no signup.
AI Output Evaluator
Score model responses for relevance, structure quality, and risk signals to quickly diagnose weak output patterns.
Chmod Calculator
Calculate Unix file permissions with an interactive checkbox matrix. Convert between octal and symbolic notation.
Color Converter
Convert colors between HEX, RGB, HSL, and CMYK formats. Includes a color picker and palette generator.
Cron Expression Parser
Validate cron syntax and preview upcoming run times in UTC to debug schedules before deployment.
CSS Flexbox Generator
Build flexbox layouts visually with a live preview. Adjust direction, wrapping, alignment, and gap, then copy the CSS.
CSS Gradient Generator
Generate linear gradient CSS with angle and multi-color stops, including live preview and copy-ready code output.
cURL Command Generator
Build cURL commands with headers, auth, query params, and body payloads for reliable API testing.
Diff Checker
Compare two blocks of text side by side and see added, removed, and unchanged lines instantly.
Next Step
Continue with PDF Merger