Base64 Encoder
Paste text or upload a file and get the Base64-encoded string instantly.
Input
Base64 Output
Summary
Paste text or upload a file and get the Base64-encoded string instantly.
How it works
- Paste text into the input area or click "Choose file" to upload a binary file.
- Select Standard or URL-safe alphabet as needed.
- Click Encode.
- Copy the Base64 output with the Copy button.
Use cases
- Embedding images as data URIs in CSS
- Encoding credentials for HTTP Basic Auth headers
- Passing binary data in JSON API payloads
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu