Extract Text From a Scanned PDF
OCR PDF to Text recognizes the text on scanned pages in the languages you choose and returns a plain .txt file. Pages that already contain text are copied as they are, and you can add a heading before each page.
ลากไฟล์มาที่นี่ หรือคลิกเพื่อเลือก
รองรับ PDF · ไม่เกิน 500.0 MB ต่อไฟล์ · สูงสุด 20 ไฟล์ต่อครั้ง
คุณวางไฟล์ด้วย Ctrl/Cmd+V หรือจากเมนูคลิปบอร์ดได้เช่นกัน
OCR PDF to Text reads the pages of a PDF and returns a plain .txt file. Pages that have no usable text layer are rendered and recognized with Tesseract in the languages you pick; pages that already contain text are copied from the file, so a mixed document is not recognized twice.
Pick up to four languages that appear on the pages, choose whether each page gets a heading line such as --- Page 3 ---, and optionally restrict the run to a page range. Force OCR recognizes every selected page instead of trusting the existing text layer.
Limits are stated up front: up to 50 pages that need OCR per request on this site, counted after skipping pages that already have text, and files up to 500 MB. Layout is not preserved: columns and tables come out as running text, so use the table tool when the structure matters.
ความสามารถ
- Plain .txt output; text layers are reused and scans are recognized
- Up to four recognition languages at once
- Optional heading before each page
- Optional page range
- No account or sign-in required
ใช้เมื่อไหร่
- Pulling the words out of a scanned letter, report or ID document
- Feeding scanned pages to a search index or an AI workflow as text
- Copying a few paragraphs from a photographed page without retyping
How do I extract text from a scanned PDF?
- Upload the scanned PDF
- Choose the document languages
- Decide whether to add a heading before each page, and enter a page range if needed
- Click Process and download the .txt file
ข้อจำกัดและกรณีพิเศษ
- At most 50 pages that need OCR per request on this site; self-hosted servers can change it
- Columns, tables and reading order are not reconstructed
- Accuracy depends on scan quality and on picking the right languages
- Upload limit on this website: 500 MB per file, sent in chunks above about 95 MB. A single direct API request body is capped at 100 MB.
คำถามที่พบบ่อย
- Why does my text look jumbled?
- OCR reads pages line by line. Multi-column layouts, tables and sidebars can interleave. Use a page range for single-column pages, or the table tool for tabular data.
- Is text that is already in the PDF copied or recognized again?
- Copied. In Normal mode a page with a usable text layer is taken as it is; only image-only pages are recognized.
- Can I get Markdown instead?
- Yes. OCR PDF with the Markdown result returns a .md file that keeps headings and lists where it can detect them.
- What happens with a very long scan?
- A request that needs more than the page limit is rejected with a clear message. Enter a page range and run the document in parts.
อัปเดตล่าสุด:
เรียกจากโค้ด
เครื่องมือทุกตัวบนเว็บนี้เป็น REST endpoint ธรรมดา ไม่ต้องมีบัญชีหรือคีย์ API ก็เรียกได้ ใช้ได้ทั้งเบราว์เซอร์ นักพัฒนา และเอเจนต์
curl -X POST "https://pdf123.xyz/api/v1/misc/ocr-text" \
-F "[email protected]" \
-F "languages=eng" \
-F "ocrType=Normal" \
-F "pageMarkers=false" \
-F "pageNumbers=all" \
-o output.pdfมีเป็นเครื่องมือ MCP สำหรับไคลเอนต์เอเจนต์ที่รองรับ Model Context Protocol (JSON-RPC 2.0 ผ่าน POST /mcp) เอกสาร API ฉบับเต็ม
ใช้งานผ่านเอเจนต์ AI
สกิลเมื่อติดตั้งสกิลนี้ Claude Code, Codex, Cursor และเอเจนต์ AI อื่น ๆ จะใช้ "OCR PDF เป็นข้อความ" แทนคุณได้: /skills/pdf123-ocr-text.md
ไฟล์ใช้เฉพาะงานนี้ เสร็จแล้วลบอัตโนมัติ