When to use it
Use Tooldoge’s Text Base64 Encoding and Decoding tool to convert UTF-8 text to Base64 or restore encoded text to a readable form. This guide demonstrates a complete round trip with two lines containing no personal information. Base64 represents data; it is not encryption. Content that can be decoded should not be treated as confidential merely because it is encoded.
1. Check the mode and input
Open the tool and select “BASE64 编码” (Base64 Encode). For this example, leave “Base64URL(URL 安全,无填充)” (URL-safe, without padding) unchecked. Enter these two lines in the input field, without an extra line break after the second line:
你好
Tooldoge!
The line break is part of the original text. When comparing results, check the Chinese text, English letter case, exclamation mark, and number of lines—not just whether the strings look similar.
2. Encode and inspect the result
Click “开始转换” (Start Conversion) and wait for “处理完成” (Processing Complete). In a live-page test on October 31, 2026, the input above produced:
5L2g5aW9ClRvb2xkb2dlIQ==
The result area displayed “24 字符” (24 characters), along with buttons for copying the result, downloading TXT, and moving the result back to the input. The displayed encoding was verified. Clipboard permissions and the contents of a downloaded file were not tested, so the presence of these buttons does not establish that copying or downloading succeeded.
3. Reverse the conversion to check the original
Click “结果转回输入” (Move Result Back to Input). The encoded result moves into the input field, the mode automatically changes to “BASE64 解码” (Base64 Decode), and the previous result field clears. Click Start Conversion again. The result should restore “你好” on the first line and “Tooldoge!” on the second. Both lines were preserved in this test. A round-trip comparison is more informative than relying on a completion message alone.
4. What to check after an error
In this test, entering “%%%” in decode mode and running the conversion displayed “本次运行未能完成,请重试。” (This run could not be completed. Please try again.) and a message asking the user to check the encoding format. If you see a similar message, check that the input really is Base64, that it was copied completely, and that the encode/decode mode is correct. Do not interpret an error message as a generated result. Not every type of invalid input was tested, so this example does not establish how all errors behave.
5. Scope and limits
This example verifies only a standard Base64 round trip with Chinese text and a line break, plus one invalid input. The page also offers a Base64URL option, but it was not tested here; check it separately against the receiving system’s requirements. The input counter shows “/ 1,000,000”; neither maximum input size nor processing time was tested. The page also warns that content cannot be recovered after closing or clearing it, so keep your own copy of any original text you need.