Encode text to Base64 or decode Base64 strings instantly. Supports UTF-8 and file encoding.
Enter your values
Open the Base64 Encoder / Decoder and fill in the required input fields with your numbers or selections.
Review the calculation
The tool automatically computes the result as you type. Double-check your inputs to ensure accuracy.
Interpret your results
Review the calculated output along with any breakdowns, charts, or explanations provided to understand what the numbers mean for your situation.
Published by ConvertCrunch Editorial Team | Our Methodology
Go deeper with workflow guides, side-by-side comparisons, and reusable embeds connected to this tool.
Add this calculator to your website with a simple iframe.
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.
Cron Expression Parser
Validate cron syntax and preview upcoming run times in UTC to debug schedules before deployment.
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.
Encryption / Decryption Workbench
Encrypt and decrypt text with AES-GCM, PBKDF2 passphrase hardening, raw AES keys, AAD, and optional gzip compression. Export as JSON envelope or compact token.
Hash Generator
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files. All hashing runs locally in your browser.
HTML Entity Encoder/Decoder
Encode special characters to HTML entities or decode entities back to readable text.
Next Step
Continue with PDF Merger
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.