paddleocr-doc-parsing

Send PDFs and images to PaddleOCR's layout-parsing API for Markdown and JSON output.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ggongch2/26-1_book_reading --skill paddleocr-doc-parsing-ggongch2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paddleocr-doc-parsing
Source: https://github.com/ggongch2/26-1_book_reading/tree/main/PaddleOCR/skills/paddleocr-doc-parsing
Command: npx skills add https://github.com/ggongch2/26-1_book_reading --skill paddleocr-doc-parsing-ggongch2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, Pillow, pypdfium2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the extraction and structure-preservation of complex documents, converting PDFs and images into Markdown and JSON representations that maintain layout, tables, formulas, and reading order.

Core Features & Use Cases

  • Layout-aware parsing to capture headers, footers, tables, formulas, figures, and multi-column content.
  • Markdown and JSON outputs suitable for downstream processing, data pipelines, and documentation.
  • Use cases include digitizing invoices, academic papers, reports, and scanned documents where structure matters.

Quick Start

Provide a document URL or local file path and the skill will return both plain text and structured data for downstream workflows.

Frequently Asked Questions about paddleocr-doc-parsing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert complex PDFs to Markdown while preserving tables and layout?

To convert complex PDFs to Markdown, this skill uses PaddleOCR's layout-parsing API to extract headers, tables, formulas, and multi-column content, returning structured Markdown and JSON outputs that maintain the original document reading order.

How does layout-aware document parsing work for scientific papers and invoices?

Layout-aware document parsing works by sending PDFs or images to the PaddleOCR API, which identifies structural elements like figures, footers, and formulas, then composes the extracted text into structured Markdown and JSON data for downstream pipelines.

Do I need an API token to parse PDFs with PaddleOCR?

Yes, you need a valid PaddleOCR API URL and token configured in your environment to authenticate the httpx-based client requests for extracting and structuring content from your PDFs and images.

Can I use local image files for OCR document parsing?

Yes, you can provide a local file path or document URL to the skill. It processes both PDFs and images, returning plain text and structured JSON data suitable for digitizing scanned documents and reports.

What is the best way to extract structured JSON from scanned PDF documents?

The best way to extract structured JSON from scanned PDFs is using an API-driven OCR service like PaddleOCR. This skill automates the request handling, captures layout-aware content, and preserves complete results for flexible re-use in data pipelines.

Are there limitations when parsing multi-column PDF layouts into Markdown?

Parsing multi-column PDF layouts depends on the PaddleOCR API's accuracy in detecting reading order and structural elements. While it handles complex structures gracefully, heavily degraded scans or unusual formatting may result in misaligned Markdown output.