a11y.skipToMainContent
1

PDF 显示结构

将一个PDF的内部结构作为格式化的JSON. 参见对象,流,交叉引用表格,和页面树——用于调试和学习.

Drag your PDF here or

Developer tool. All processing is done in-browser. Your file never leaves your device.

Developer Tool — Inspects the internal structure of a PDF: objects, streams, cross-reference table, and page tree. Useful for debugging PDF generation, analyzing file composition, or learning the PDF format.

Was this tool helpful?
Send PDF to:
Advertisement

How to use PDF Show Structure

  1. 上传您想要检查的 PDF .
  2. 点击分析结构来提取 JSON 代表 .
  3. 使用过滤器输入查找特定对象(如"font","image","page").
  4. 复制 JSON 到剪贴板或下载到离线审查.

{姓名}是什么来着?

每个 PDF 是一个由被编号对象——页面,字体,图像,内容流——组成的集合,通过一个交叉引用表链接. 这个开发者工具使用qpdf的"代码"-json=latest

可用于调试 PDF 生成库,了解特定 PDF 是如何构建的,或者学习 PDF 格式的内部. 不需要编程。

Advertisement

FAQ

这是只开发者的工具吗?
主要是是的——它显示了原始的PDF内部. 但对于好奇想看PDF文件里面的内容的用户来说,这也是有益的.
我能从JSON的输出中学到什么?
您可以看到文件中的每个对象:所使用的字体,嵌入图像,页面维度,内容流数据,说明,形式字段,以及元数据.
这个工具会修改我的PDF吗?
没有 它只读出JSON的结构和产出. 你的文件从未更改过.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

← Back to Developer Tools · All tags

Last updated:

Advertisement