Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

kakemono logo

kakemono

Convert PDF papers and books, Word documents, Excel workbooks, PowerPoint decks, EPUB books, web pages, or arXiv papers into readable, editable formats.

kakemono is a Rust document converter and library. It extracts reading order and structure from its input, including headings, tables, equations and figures, and writes it again in the format you need. No Python, Poppler or MuPDF is needed for the command line.

What goes in, what comes out

InputNotes
PDF, or an arXiv id or URLLayout analysis rebuilds reading order, tables and formulas. Scanned and encrypted PDFs are not supported.
Word (.docx, .doc)Read directly; also laid out in pages as Word does, and written as a PDF.
Excel (.xlsx)A table per region of each sheet; a PDF printed as Excel prints it.
PowerPoint (.pptx)A section per slide; a PDF with the slides drawn as PowerPoint draws them.
EPUB (.epub)Read into the same structure as Word.
Web page (.html or an http(s) address)The article is kept, without menus, sidebars or advertisements.
OutputUse it for
HTML, in four modesReading on screen, from page-faithful copies to a phone-friendly article
MarkdownGitHub, Obsidian, Jupyter, Pandoc, or an LLM
Word (.docx)Editing in Word
LaTeX, TypstTypesetting again, as an article or a printed book
EPUBE-readers
Editable JSONTranslating or correcting the text, then applying it to any output
JSONL chunksRetrieval (RAG), with token counts
PDFWord, EPUB and web page input, a workbook, a deck

The four HTML modes:

ModeLayout
friendlyResponsive single-column article (default)
mediumPreserves pages and columns while reflowing text
hard-95Page-like layout with visible HTML text
hardPage images with a selectable text layer

Where to start

A first run

cargo install kakemono
kakemono convert 1706.03762 -o paper.md      # arXiv id → Markdown
kakemono convert report.docx -o report.pdf   # Word → PDF
kakemono convert paper.pdf --all -o out/     # all four HTML modes

The output extension selects the format; --format chooses it explicitly. kakemono is licensed under the MIT license.