Encode Text to Base64
Encode text (UTF-8) or any file into Base64, with an optional URL-safe alphabet.
- Input:
- Any file
- Output:
- TXT
- Max size:
- 50 MB
- Runs:
- In your browser (no upload)
What the Base64 Encoder does
Convert text to Base64 with full UTF-8 support, for use in data URIs, HTTP headers, JSON payloads or configuration files.
Options
- URL-safe alphabet (- and _, without padding) for URLs and tokens.
- Wrap lines at 76 characters (MIME).
How to use the Base64 Encoder
- 1
Drag a file into the upload area, or click it to choose a file from your device.
- 2
Adjust the options to suit your needs — the defaults work well for most files.
- 3
Click “Run Base64 Encoder” to start processing.
- 4
Preview the result, then download it. Batch results can be downloaded together as a ZIP.
Frequently asked questions
Related tools
Hash Generator
Calculate MD5, SHA-1, SHA-256 and SHA-512 checksums of text or files.
File Format Detector
Identify a file's real format from its binary signature and spot mismatched extensions.
QR Code Generator
Create QR codes for links or text, with custom colors, size and error correction, as PNG or SVG.
QR Code Scanner
Read the content of a QR code from a screenshot or photo.
Base64 Decoder
Decode Base64 or data URIs back to readable text or a downloadable file.
URL Encoder
Percent-encode text for safe use in URLs and query strings.