Extract Structured Content from PDF in Java
JPedal can extract the logical structure of tagged PDF files, including headings, paragraphs, lists, tables and reading order. Output is available as ePUB, HTML, JSON, Markdown, XML and YAML. Structured content extraction only applies to PDFs that contain tagged content, which is not present in all files.
Requirements
| Requirement | Value |
|---|---|
| Minimum Java version | Java 17 |
| Third-party dependencies | None |
Extract Structured Content as ePUB
JPedal extracts the logical document structure from a tagged PDF and outputs it as an ePUB file.
Extract structured content as ePUB
Extract Structured Content as HTML
JPedal extracts the logical document structure from a tagged PDF and outputs it as HTML, preserving headings, paragraphs, lists and table structure.
Extract structured content as HTML
Extract Structured Content as JSON
JPedal extracts the logical document structure from a tagged PDF and outputs it as JSON, suitable for programmatic processing and API responses.
Extract structured content as JSON
Extract Structured Content as Markdown
JPedal extracts the logical document structure from a tagged PDF and outputs it as Markdown, suitable for feeding into AI pipelines, documentation tools and content management systems.
Extract structured content as Markdown
Extract Structured Content as XML
JPedal extracts the logical document structure from a tagged PDF and outputs it as XML, preserving the hierarchy of headings, paragraphs, lists and tables.
Extract structured content as XML
Extract Structured Content as YAML
JPedal extracts the logical document structure from a tagged PDF and outputs it as YAML.
Extract structured content as YAML
Frequently Asked Questions
What is structured content extraction in JPedal?
It reads the logical structure of a tagged PDF, including headings, paragraphs, lists and tables, and outputs it in a format of your choice.
Does structured content extraction work on all PDF files?
No. The PDF must contain tagged content. Scanned and many older PDFs are not tagged and will produce no output.
What output formats does JPedal support for structured content?
JPedal supports ePUB, HTML, JSON, Markdown, XML and YAML.
Can JPedal extract tables from a tagged PDF?
Yes. Table structure is preserved in the extracted output for PDF files that include correctly tagged tables.
Can extracted structured content be used for AI or LLM workflows?
Yes. Markdown and JSON output can be passed directly to AI processing pipelines, including RAG workflows.
Does JPedal require any third-party libraries for structured content extraction?
No. JPedal is a 100% Java solution with no third-party dependencies, no native binaries and no external tools required.
What Java version is required?
JPedal requires Java 17 as a minimum. Details at Which Java versions does JPedal support?