為 AI 準備 PDF

將 PDF 內容擷取為 LlamaIndex JSON,用於 RAG/LLM 管線。

點選以選擇檔案 或將檔案拖曳至此處

一個或多個 PDF 檔案

您的檔案絕不會離開您的裝置。

使用方式

1

Upload File

點選或拖曳檔案至此處以開始

2

Process

點選處理按鈕以開始

3

Download

立即儲存處理後的檔案

相關 PDF 工具

Merge PDF

Free online merge PDF tool

Compress PDF

Free online compress PDF tool

Split PDF

Free online split PDF tool

Edit PDF

Free online edit PDF tool

Rotate PDF

Free online rotate PDF tool

常見問題

What does the JSON output contain?

It follows the LlamaIndex document schema: one document per page with that page's text and metadata fields. It's produced by PyMuPDF's LlamaIndex integration, so it can be loaded directly into LlamaIndex or any pipeline that accepts per-page text with metadata.

How is this different from PDF to Text or PDF to Markdown?

PDF to Text gives one plain text stream, and PDF to Markdown keeps headings and structure for reading. This tool splits the content page by page and wraps it in structured JSON with metadata, which is what retrieval pipelines need for chunking and citing sources.

Does it work on scanned PDFs?

Only if they already have a text layer. Scanned images produce empty or near-empty output, so run them through OCR PDF first and then extract.

Can I process a whole batch of PDFs?

Yes. Upload multiple files and you get pdf-for-ai.zip containing one yourfile_llm.json per PDF; a single file downloads as yourfile_llm.json directly. If one file in the batch fails, the rest still complete and the summary tells you how many failed.

Can I choose which pages to extract or control the chunk size?

No. There are no options; every page is extracted with its full text and metadata. Do chunking in your own pipeline, where you can pick sizes that fit your embedding model, and drop pages you don't need there.

Can I prepare a password-protected PDF for AI tools?

Yes. If a file is encrypted, you're prompted for its password before extraction starts, and the text is pulled from the decrypted copy.

Is my document sent to an AI service?

No. Despite the name, nothing is sent to an AI provider or any server; the extraction runs with PyMuPDF compiled to WebAssembly inside your browser. You decide afterward where the JSON goes.

What can I do with the JSON file?

Feed it to a RAG pipeline, build a knowledge base for a chatbot, run LLM analysis over reports, or turn a PDF collection into training data. Because the content is split per page with metadata, answers can point back to the page they came from.