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

  1. Paste text into the input area or click "Choose file" to upload a binary file.
  2. Select Standard or URL-safe alphabet as needed.
  3. Click Encode.
  4. 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