← All Base64 tools
LOCAL CONVERSION · TEXT

Text to Base64 Converter

Encode Unicode text as UTF-8 bytes and standard Base64. Processed in your browser.

Unicode textBase64 · UTF-8

Unicode characters are encoded as UTF-8 bytes before Base64.

0 UTF-16 code units
Maximum pasted length: 24 MiB characters. Decoded files: 16 MiB. Oversized input is rejected when run.

Base64 · UTF-8

Run your source or load the labelled sample to explore the output. Input stays on this device.

How to use Text to Base64 Converter

  1. Paste the source value into the input field.
  2. Run the tool and review its result or validation message.
  3. Download the complete result, or copy text output. Clear removes the result and releases its download.

Does this upload my data?

No. This tool runs in a browser worker. Input is not stored or sent to a server.

Does Base64 change a file format?

No. Encoding and decoding preserve bytes. A format-specific tool checks the signature, but does not transcode or guarantee that a file is intact. Some media may not play in your browser; the download still preserves the bytes. SVG and HTML are never rendered here.

Related tools

About Text to Base64 Converter

Base64 writes any bytes using only 64 safe characters (A–Z, a–z, 0–9, + and /), so data can travel through systems built for plain text: JSON, XML, email, environment variables and URLs. This tool first turns your text into UTF-8 bytes, the encoding the web uses, and then encodes those bytes.

Because characters such as accented letters, Chinese characters and emoji take two to four UTF-8 bytes, the output grows faster for them than for plain English. Base64 output is always about a third larger than the input bytes.

Good for

  • Putting text into a JSON field or configuration value that must not contain quotes or newlines.
  • Preparing test data for an API that expects Base64.
  • Checking what another program should produce for the same input.

Questions

Is Base64 encryption?

No. Anyone can decode it. It changes how data is written, not who can read it.

Why does my result end with = signs?

Padding. Base64 works in groups of three bytes, and = fills the last group when the input length is not a multiple of three.