Text interchange
Represent UTF-8 text using the standard Base64 alphabet.
Encode text into Base64 for ASCII-safe transmission over text-based protocols
Convert UTF-8 text into a Base64 string for a system or format that expects a text-safe representation of bytes.
Represent UTF-8 text using the standard Base64 alphabet.
Create a small encoded value for a document or test fixture.
Encode a known phrase, then decode it to verify the original text.
Letters, punctuation and non-Latin text are encoded from their UTF-8 representation.
The output uses standard Base64 characters and padding where required. Line breaks in the source are part of the input and are encoded too; the result is not a picture or a binary file converter. To recover the original text, use Base64 Decode Text on the result.
A short input makes the transformation easier to inspect.
This example was checked with the current tool. The options shown apply only to this example; your editor keeps the settings you select.
Hello, world!
SGVsbG8sIHdvcmxkIQ==
Upload a text file, write directly, or try the sample.
The entry screen accepts one UTF-8 TXT, CSV, JSON, XML, HTML or HTM file and opens the editor. Imports are text content, not a PDF or Word conversion. Review the source and choose Base64 Encode Text when ready. Editing or importing alone does not apply the transformation.
Check the report before saving or continuing with the text.
Check the Base64 string in the monospaced result and compare input and result UTF-8 byte sizes in Result overview. Encoding normally increases the size; decode the result with Base64 Decode Text when you need to check a round trip. Open Show spaces and tabs to reveal spaces as ·, tabs as ⇥ and line endings as ↵. These marks are only a preview; copied and downloaded text keeps its actual whitespace. Copy the reviewed text or use the download icon to save UTF-8 TXT. Editing the result hides the calculated details until you run the tool again. Continue to offers compatible next tools for the current text and their limits. Review the transferred text before running the next operation.
Maximum input and result: 1 MB of UTF-8 text, with a 1,048,576-character input ceiling. Expanding transformations must also fit the result limit. The whitespace preview shows at most 12,000 Unicode code points. This preview limit does not shorten the editable result or its TXT download.
This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.
See the Privacy Policy for file and data handling.
No. This tool processes text in your browser. Text-file imports and downloads stay on your device.
Yes. The result remains editable. Copy it or download a UTF-8 .txt file from the result page.
Text input and generated output are limited to 1 MB to keep your browser responsive. Split larger documents into smaller parts.
QUICK VIDEO TUTORIAL
Encode text as Base64
Encode text as Base64
English narration
Watch the video