Step 1
拖放上传 TXT 文件,或点击选择文件。
Loading tool...
Explore more tools that solve similar problems and can help with your next task.
Convert TXT files to Word format
Convert TXT files to Word format
Convert Markdown (.md) files to Word DOCX with tables and links
Convert Markdown (.md) files to Word DOCX with tables and links
Convert Markdown (.md) to standalone HTML with GFM tables and code blocks
Convert Markdown (.md) to standalone HTML with GFM tables and code blocks
Convert Markdown (.md) to print-ready PDF in your browser
Convert Markdown (.md) to print-ready PDF in your browser
Convert CBZ comic archives to PDF format
Convert CBZ comic archives to PDF format
Convert TXT files to PDF format with advanced options
Convert TXT files to PDF format with advanced options
Convert Jupyter notebook (.ipynb) files to PDF
Convert Jupyter notebook (.ipynb) files to PDF
Convert Jupyter notebook (.ipynb) files to standalone HTML
Convert Jupyter notebook (.ipynb) files to standalone HTML
or Drag & drop files here
Max 20 files • Max file size: 50MB • Supported: .txt, text/plain
在线将 TXT 文件内容编码为 Base64。可选行宽(如 RFC 4648 的 76)或不换行。输出为 .txt 或 .b64。免费、私密、在浏览器中运行。无需注册。
几秒内将纯文本编码为 Base64。免费 TXT 转 Base64 工具将文件内容转为 Base64,可设置可选行宽(如 76 字符)或输出为单行长串。在浏览器中运行,数据不会离开您的设备。
TXT 转 Base64 编码将文本文件内容转为 Base64,一种只使用字母、数字和两种符号的格式,便于安全存储或传输。可在指定长度换行(如 RFC 4648 的 76)或设为 0 不换行。
本工具免费,完全在浏览器中运行以保护隐私,支持可选行宽和输出扩展名,文件保留在本地。无需上传到服务器,无需注册。
三个简单步骤:
拖放上传 TXT 文件,或点击选择文件。
设置行宽(如换行输出用 76,不换行用 0)和输出扩展名(.txt 或 .b64)。
点击「转为 Base64」并下载结果。
上传 .txt 文件,设置行宽(不换行则填 0)和输出扩展名,然后点击转换。下载 Base64 结果即可。
是的。完全免费。所有处理都在您的浏览器中完成。
按该字符数对 Base64 字符串换行(如 RFC 4648 常用 76)。填 0 则输出为一行长串。
不会。全部在浏览器中处理,文件留在您的设备上。
可将结果保存为 .txt 或 .b64,内容都是 Base64。
主要功能:
常见用途:
手动编码容易出错。很多在线工具会上传您的文件。本工具免费、在浏览器中运行、数据留在本地,并支持可选行宽和输出扩展名。
建议:
使用免费 TXT 转 Base64 工具,以可选行宽和您选择的输出扩展名将文本转为 Base64。
无需注册。文件保留在您的设备上。立即试用。
Have more questions? Don't hesitate to email us:
是的。所有处理都在您的浏览器中完成。
按该字符数对 Base64 字符串换行(如 76)。单行长串填 0。
不会。所有内容都保留在您的设备上。
可保存为 .txt 或 .b64,内容均为 Base64。
不需要。无需注册或登录。
可以。上传多个 TXT 文件,分别编码为 Base64。
每行 76 字符是 RFC 4648 和 MIME 的常见约定,很多系统按此换行。
您为 TXT 文件选择输入编码;输出为 Base64(ASCII)。
是的。输出是您文件内容的标准 Base64 编码。
编码在浏览器中运行,实际限制取决于设备。我们不设固定文件大小上限。