Plain Text Input

67 characters

Base64 Output
SGVsbG8sIEluZGlhbkJ1c2luZXNzVG9vbHMhIFRoaXMgaXMgYSBCYXNlNjQgZW5jb2RlL2RlY29kZSBleGFtcGxlLg==

92 characters

What is Base64?

A binary-to-text encoding scheme representing binary data using 64 printable ASCII characters.

Common Uses

Email attachments, embedding images in HTML/CSS, API authentication tokens, and data URLs.

File Support

Upload any file to get its Base64 data URL — useful for embedding images inline in code.

What is a Base64 Tool?

A Base64 Tool encodes any text or file into Base64 format, or decodes Base64 strings back to their original content. Base64 is a binary-to-text encoding scheme that makes binary data safe for transmission in text-based protocols like HTTP headers, JSON, and email.

How to Use It

  1. 1Switch between 'Encode' and 'Decode' mode using the toggle
  2. 2Paste your text or Base64 string into the input field
  3. 3Or upload any file to encode it to Base64
  4. 4The output appears instantly — use the copy button to copy the result

Example

Encoding the text 'Hello, India!' → 'SGVsbG8sIEluZGlhIQ=='. Decoding 'SGVsbG8sIEluZGlhIQ==' → 'Hello, India!'. The = padding at the end is normal for Base64.

Why Use It

  • Embed images directly in HTML or CSS as data URIs to reduce HTTP requests
  • Encode JWT tokens and API credentials for safe URL transmission
  • Transfer binary files through text-only channels like JSON APIs
  • Debug base64-encoded data in HTTP requests or config files

Frequently Asked Questions