Encoding

Base64 Encoder & Decoder

Encode or decode Base64 strings for web, API, token, and log analysis workflows.

beginner2 minRuns in your browser
EncodingWeb Security

Interactive workspace

Inputs stay on your device — nothing is sent to our servers unless you choose to share.

Client-side only
Text charset:
Variant:
Result goes here…

Encode files to Base64

Upload any file to convert it to a Base64 string. Max 100MB.

Click or drag a file here

Maximum file size: 100MB

Results History

No history yet. Process some text to see your history here.

Quick Examples (Click to Use)

Encode Examples

Text: "Hello World"
Base64: SGVsbG8gV29ybGQ=
Text: "123456"
Base64: MTIzNDU2
Text: "Base64 Test"
Base64: QmFzZTY0IFRlc3Q=

Decode Examples

Base64: SGVsbG8gV29ybGQ=
Text: "Hello World"
Base64: MTIzNDU2
Text: "123456"
Base64: QmFzZTY0IFRlc3Q=
Text: "Base64 Test"

Security Notice

  • Base64 encoding is not encryption — it is reversible encoding only
  • All processing runs in your browser; nothing is sent to a server
  • Use the source charset when decoding legacy or non-UTF-8 text
  • Do not decode files from untrusted sources
  • Always use proper encryption for sensitive data

About Base64 Encoding

Base64 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format. It's commonly used for encoding binary data in email messages, storing complex data in JSON, and embedding images in HTML. Base64 encoding increases the size of the data by approximately 33% due to the encoding overhead.