PDF & Word to AI-ready Markdown (Japanese-ready)
Pricing
from $3.00 / 1,000 page converteds
PDF & Word to AI-ready Markdown (Japanese-ready)
Turn PDF and Word (.docx) files into clean Markdown chunks tagged with page numbers for RAG and LLMs. Fixes vertical Japanese text, strips furigana, removes repeated headers/footers and page numbers, keeps tables.
Pricing
from $3.00 / 1,000 page converteds
Rating
0.0
(0)
Developer
peti peti
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Turn PDF and Word (.docx) files into clean Markdown chunks tagged with page numbers, ready for RAG, embeddings, ChatGPT/Claude uploads and knowledge bases.
Generic converters break on Japanese documents. This one fixes the usual problems:
| Problem in typical output | What this Actor does |
|---|---|
| Vertical text (縦書き) comes out scrambled or with sideways punctuation (︒ ︑ ﹁ ﹂ ︵ ︶) | Reads columns right to left, top to bottom, and turns vertical punctuation back into 。、「」() |
| Furigana (ルビ) mixed into the text: 東京とうきょうは… | Detects the small kana printed over / beside the base text and removes it (Word: keeps only the base text of ruby) |
| Headers, footers and page numbers repeated on every page: 社外秘 / 第3章 / - 12 - | Removes page numbers and lines that repeat at the top or bottom of many pages |
| Tables flattened into a word soup | Keeps tables as Markdown tables (Word: merged cells handled; PDF: aligned columns detected) |
| Japanese lines joined with stray spaces, English words split by hyphens | Joins Japanese lines without spaces, re-joins hyphenated English words |
| No way to cite the source page | Every chunk has pageStart / pageEnd, the heading path, and the full Markdown has <!-- page N --> markers |
Works for English and other languages too. Nothing is sent anywhere: the files you link are downloaded and converted inside the run – no external conversion API, no OCR service, no other website is contacted.
Input
{"fileUrls": ["https://example.com/files/manual.pdf","https://example.com/files/規程.docx"],"maxChunkChars": 1500}
Use direct download links (a link that returns the file itself). Leave fileUrls empty to convert a small built-in Japanese sample and see the output.
Output
One dataset item per chunk:
{"file": "manual.pdf","fileType": "pdf","chunkIndex": 3,"pageStart": 4,"pageEnd": 5,"headings": ["第2章 操作方法", "2.1 初期設定"],"text": "## 2.1 初期設定\n\n電源を入れると…\n\n| 項目 | 初期値 |\n| --- | --- |\n| 言語 | 日本語 |","chars": 412,"chunkCount": 18}
Also stored in the key-value store:
markdown-1,markdown-2, … – the full Markdown of each file (with page markers)OUTPUT– per file: pages, chunks, furigana and header/footer lines removed, number of vertical pages, warnings
Options
| Option | Default | |
|---|---|---|
maxChunkChars | 1500 | Chunks are cut at headings and paragraph ends; long paragraphs at sentence ends; long tables between rows, header row repeated |
removeFurigana | true | Off: Word files write 東京(とうきょう) |
removeHeadersFooters | true | PDF only (Word keeps them outside the body anyway) |
pageMarkers | true | <!-- page N --> in the full Markdown |
maxPagesPerFile | 500 | Pages beyond this are skipped and not charged |
Limits
- Scanned PDFs (images without a text layer) are not supported – there is no OCR. The run reports a warning instead of empty output.
- Old binary
.docfiles: open in Word and save as.docx. - PDF tables are detected from column alignment; tables drawn with very irregular spacing may come out as paragraphs. Multi-column horizontal layouts (two-column papers) are read row by row.
- Headings in PDFs are detected from font size; in Word from heading styles (見出し 1, Heading 1 …).
- Up to 100 MB per file.
Pricing
Pay per event, platform usage included:
| Event | Price |
|---|---|
| Actor start | $0.01 per run |
page-processed – one page converted | $3.00 per 1,000 pages ($0.003 per page) |
Example: a 120-page PDF costs $0.01 + $0.36 = $0.37. For Word files the page count Word saved in the file is used. Files that fail to convert and the built-in sample are not charged.
日本語での説明
PDF と Word(.docx)を、AI(RAG・ChatGPT・Claude など)にそのまま渡せる Markdown に変換し、ページ番号付きのチャンクに分けます。日本語の資料でよく起きる崩れを直します。
- 縦書き: 右の列から順に読み、縦書き用の句読点・かっこ(︒ ︑ ﹁ ﹂ ︵ ︶)を 。、「」() に戻します
- ふりがな(ルビ)が本文に混ざるのを取り除きます(Word のルビは親文字だけ残します)
- 各ページの上下に繰り返される見出し・「社外秘」・ページ番号を取り除きます
- 表は Markdown の表として残します(Word の結合セルにも対応)
- 各チャンクに pageStart / pageEnd と見出しの階層が付くので、出典のページを示せます
指定したファイルをダウンロードして実行の中で変換するだけで、外部の変換サービスやほかのサイトにはアクセスしません。画像だけのスキャン PDF(文字情報がないもの)は OCR をしないため変換できません。
料金: 1回の実行ごとに $0.01、1ページあたり $0.003(1,000ページで $3)。変換に失敗したファイルとお試し用サンプルは課金しません。