CarenCart

Base64 Encode

Encode text or a file to Base64 for transport in plain-text formats.

Runs in your browser FreeNo sign-in Works without JavaScript

Start over

With JavaScript on, this runs in your browser and nothing is uploaded.

How to use base64 encode

  1. Paste your text. Paste or type the text into the box on this page. Nothing is uploaded — the work happens on this page as you go.
  2. Set the options. Adjust the settings shown for base64 encode. The defaults suit most files, so you can usually leave them alone.
  3. Check and save the result. Run the tool and download the Base64 result. Compare it against your original before you rely on it — conversions do not always carry every detail across.

Privacy

By default this page does the work itself and your file never leaves the device. If JavaScript is unavailable, the form posts to the server instead, where the file is processed in a temporary folder and deleted as soon as the result is written. The result link works once and expires.

Questions

What happens to my file?

By default nothing leaves your device — the tool runs in your browser. If JavaScript is unavailable the same page falls back to a server form, where the file is processed in a temporary folder and deleted the moment the result is written.

Will the Base64 result match my plain text file exactly?

Not always, and it is worth knowing why. Encoding still matters. A file saved as one character set and read as another produces the familiar run of replacement characters, particularly around accents and quotation marks. Check the result against your original before relying on it.

Is there a limit on how much text I can paste?

There is no fixed limit. Very large amounts may slow your browser down, since the work happens on your own device, but ordinary documents pasted whole are no trouble.

Does it work on a phone?

Yes. The interface is built mobile-first and works in current versions of Chrome, Safari, Firefox and Edge. Pasting long passages is simply more comfortable on a keyboard.

Working with plain text and Base64

About plain text

Characters and line breaks with no formatting at all — the most portable and durable way to store writing.

Encoding still matters. A file saved as one character set and read as another produces the familiar run of replacement characters, particularly around accents and quotation marks.

About Base64

An encoding that represents binary data using 64 printable characters, so files can travel through channels that only handle text, such as email or a data URI.

It is encoding, not encryption, and offers no protection whatsoever. It also inflates the data by roughly a third.

Troubleshooting

  • Nothing happens after choosing a file. Check the file really is TEXT — a renamed extension fails here the same way it fails in other readers.
  • The upload is refused. Files over 32 MB are rejected. Split the document first, or use one of the browser-side tools, which are limited only by your device memory.
  • The result looks different from the original. Some conversions cannot carry every feature across formats. The page says what was dropped when that happens.