PDF 转 PNG
在浏览器本地将 PDF 文档的各个页面逐页渲染导出为高清晰度 PNG 图片。接收本地 PDF 文件,在本地内存中完成光栅化并输出图片包。本工具生成静态位图图像,转换后的 PNG 无法保留原 PDF 中的文字选取或矢量图层特性。
在浏览器中将 PDF 各页高质量导出为 PNG 图像
适用于从本地 PDF 文档中提取页面图像,或把文稿转为便于在聊天工具和演示文稿中展示的 PNG 格式。整个渲染与压缩流程完全在浏览器内存中进行,无需上传服务器。请注意:转换会同时在内存中保留所有已渲染页面的图片对象并组装 ZIP,不会逐页释放内存。
操作步骤
- 点击或拖拽选择本地未加密的 PDF 文件进入上传区域。
- 等待浏览器通过 PDF.js 逐页渲染出 2x 缩放比例的高清 Canvas 画布,并转换为 PNG 格式。
- 在结果面板中直接预览生成的各个页面,可以按需单独下载某一页(如 page-1.png),也可以一键下载包含全部页面的 ZIP 压缩包。
转换两页本地报告并获取独立图片与 ZIP 归档
输入
包含 2 页的本地 PDF 文档 sample.pdf
选项
默认 2x 缩放高清渲染;同时生成单页图片与打包 ZIP
输出 / 解析结果
生成 page-1.png 与 page-2.png 两张图片预览及独立下载链接,以及 sample-pages.zip 压缩包
限制与常见问题
- 内存流程与大文件限制:页面逐页渲染到 Canvas 并转为 Blob,但所有图片 Blob 与 Object URL 会持续驻留在浏览器内存中,直至生成完整的 ZIP 文件。转换不会逐页释放内存,对于超过数十页或包含超大超高分辨率扫描图的 PDF,可能占用较多内存甚至导致标签页崩溃,建议拆分后再行转换。
- 位图与排版限制:PNG 为光栅位图图像,转换后原 PDF 的文字层、超链接、表单交互和数字签名均被栅格化为像素,无法进行文本选中、搜索或校验签名。
- 加密与异常处理:未提供密码输入;受密码保护的加密文档或损坏文件无法解析,转换失败时可能无输出,建议检查文档是否损坏或受密码保护。
Render PDF pages into high-resolution PNG images in browser
Use this tool to extract page images from local PDF documents or convert slides and documents into PNGs for easy presentation and sharing. Rendering and compression execute entirely in browser memory without sending data to external servers. Note: the conversion engine retains all page images in memory simultaneously to assemble the ZIP archive and does not release memory page-by-page.
Steps
- Click or drop an unencrypted local PDF file into the upload zone.
- Wait while PDF.js renders each page at 2x scale onto an HTML5 canvas and converts it to a PNG Blob.
- Review converted page previews in the result pane; download specific pages individually (e.g. page-1.png) or download all pages bundled in a single ZIP.
Convert a two-page report and obtain individual images and a ZIP archive
Input
A 2-page local PDF document named sample.pdf
Options
Default 2x scale rendering; produces page images and a bundled ZIP
Output / inspection
Produces page-1.png and page-2.png previews with individual downloads, plus sample-pages.zip archive
Limits and common issues
- Memory lifecycle & file limits: Pages are rendered sequentially to canvas, but all image Blobs and object URLs remain in browser memory simultaneously to construct the ZIP archive. Conversion does not release memory page-by-page; processing large documents (many dozens of pages or very high-DPI scans) can consume significant RAM and may crash the browser tab.
- Rasterization limitations: PNG is a raster image format. Document text, hyperlinks, interactive form fields, and digital signatures are permanently rasterized into pixels and cannot be copied, searched, or verified.
- Encrypted files & troubleshooting: Password input is not supported; password-protected or damaged PDF files cannot be processed and may produce no output upon failure. Verify the document is undamaged and not password-protected if conversion produces no images.