Skip to content

Developer Tools

Base64 Encoder

Encode text to Base64.

Your information is processed in your browser and is not uploaded to our servers.

Plain text

Base64

About this tool

Text is encoded as UTF-8 bytes, then standard Base64. That avoids btoa failures on non-Latin characters.

How to use

  1. Paste text.
  2. Copy the Base64 output.

Formula and methodology

TextEncoder UTF-8 bytes → binary string → btoa.

Worked example

Hello becomes SGVsbG8=.

Frequently asked questions

Can I encode a file?+

This page is for text. Binary files would need a separate file encoder.

Is the text uploaded?+

No.

Related tools