Large TXT to PDF (up to 10MB, no server crash)
Convert large plain-text TXT files to PDF online for free. Line-by-line streaming layout keeps memory flat, so 5MB / 10MB files convert safely, with automatic Chinese encoding detection.
Most TXT to PDF converters run out of memory on multi-megabyte logs, corpora or novels. This tool renders line by line: it reads one line, writes one line, so memory use stays almost flat and a 10MB plain-text file finishes safely. Encoding is detected automatically (UTF-8 with or without BOM, GBK/GB18030, BIG5, UTF-16/32), so Chinese never turns into boxes. Choose A4/A3/A5/B5/Letter paper and set margins, font size, line spacing and page numbers. Note that plain text is laid out at a fixed line height and Markdown syntax or formulas are not interpreted; use Markdown to PDF when you need formatted Markdown output.
使用步骤
- Upload a .txt file (up to 10MB)
- Choose paper size, font size and line spacing
- Convert and download the PDF
常见问题
How large can a TXT be?
Up to 10MB per file. Rendering is streamed line by line, so memory use barely depends on file size.
Will Chinese text be garbled?
No. UTF-8 (with BOM), GBK/GB18030, BIG5 and UTF-16/32 are detected automatically.
Will it produce many pages?
Yes. 5MB of plain text is usually thousands of pages, and the PDF gets proportionally larger, so allow time for the conversion.
How is this different from Markdown to PDF?
This tool only does plain-text streaming layout, without Markdown syntax or formulas, but it handles much larger files.
相关工具
Convert, compress, watermark, encrypt — all in one free online PDF toolbox.
Markdown to PDF
粘贴或上传 Markdown 内容,一键导出排版美观、适合分享与打印的 PDF。支持 LaTeX 数学公式:行内 $...$、独立 $$...$$。
Images to PDF
多张图片按列表顺序合成一个 PDF,支持 JPG / PNG / WEBP / HEIC 等常见格式。
Webpage to PDF
输入网址,抓取页面内容并导出为 PDF,适合保存文章、报告与说明文档。
Xiaohongshu to PDF
Paste a Xiaohongshu note link — the title, text and all images are extracted into a PDF.
Tip: in the Xiaohongshu app or website, tap “Share → Copy link” and paste the whole text here. Notes that require login or were deleted can't be parsed. Notes with more than 5 images need an ad click to unlock downloading all images.
Xiaohongshu images (ZIP)
Parse a note link, download full-size watermark-free originals and pack them into a ZIP.
Tip: the originals uploaded by the author are fetched (no “Xiaohongshu” watermark) and multiple images are packed into one ZIP. Notes with more than 5 images need an ad click to unlock all originals.
Compress PDF
压缩 PDF 文件体积,便于存储与传输。可选择压缩强度,全程保留可读质量。
PDF to Word
Convert PDF to an editable Word file (.docx). Keep the original layout, or turn math formulas into editable Word equations.
PDF to Markdown
Layout-aware parsing: headings, tables, formulas and images become editable Markdown.
Images are exported only when kept. Two-column or heavily mixed layouts may shift reading order — proofread after converting. Encrypted PDFs should be unlocked first.
ID Card front+back to PDF
上传正反面两张照片,自动排版为一页 A4 PDF。
① 人像面(正面)
点击或拖拽上传
② 国徽面(反面)
点击或拖拽上传
Photo to A4 Scan PDF
拍一张纸质文档,可拖拽四个角选中文档范围,自动矫正为 A4 扫描件。
拖拽文档照片到此处,或 点击选择
支持 JPG/PNG · ≤22MB
Word to PDF
将 .doc / .docx 文档转换为 PDF,保持原有排版。
WPS to PDF
将 WPS 文字(.wps)文档转换为 PDF,保持原有排版。
PPT to PDF
将 .ppt / .pptx 演示文稿转换为 PDF,适合分享与打印。
Add Watermark
为每页添加文字水印(支持中文与任意角度),保护文档内容。
Add Page Numbers
为 PDF 每一页自动添加页码,支持位置、字号、起始页和前后缀自定义。
Remove Watermark
彻底删除文档中的文字水印(内容级清除)。图片水印无法自动识别,请勿依赖本功能。
Encrypt PDF
设置打开密码(AES-256 加密),可同时限制打印、复制、修改权限。
Unlock PDF
输入文档密码,移除打开密码与权限限制。仅用于你有权限处理的文档。
Merge PDF
按选择顺序把多个 PDF 合成一个文件。
Split PDF
按指定页码范围抽取页面,或把每页拆成独立 PDF(打包下载)。
Rotate PDF
把文档所有页面旋转 90 / 180 / 270 度。
PDF to Images
把 PDF 每页渲染为 PNG / JPG 图片,打包为 zip 下载。
Saved Uploads (Admin) 0
暂无上传记录
所有转换均在本机完成。上传文件保存在服务器 uploads 目录(≤22MB/个,总量 ≤1GB),转换产物保留 8 小时后自动清理。