Matn: Arabic book typesetting, right in the browser.
Drop in a Word manuscript and get a print-ready PDF and an EPUB, set like a real Arabic book: lines justified with kashida, classical poetry in equal hemistichs, Quranic verses, footnotes and a table of contents. The manuscript never leaves your device.
- Web app
- WebAssembly
- Arabic

Who it's for
Authors, publishers and anyone preparing an Arabic book, who write in Word and want pages that look like a printed book, not a document.
What it does
Justified with kashida
Lines are justified the way Arabic books always were: one join per word is drawn longer, where a calligrapher would put it, not padded with gaps.
Classical poetry
Verses are set in two equal hemistichs, the way classical poetry is printed.
Quranic verses
Quranic verses get their ornate brackets and their reference.
Footnotes and contents
Footnotes fall at the foot of their page, and the table of contents is built from the chapter titles.
Ready for the printer
Six trim sizes and four font pairings. The PDF goes to the printer, the EPUB to e-readers.
Midad, the companion
A pixel-art print-house owner reads along as the preview renders, and nods when the book looks right.
Straight from the engine
The same paragraph, justified two ways, and three book pages that Matn typeset.



A chapter opening 
Verses, poetry and a footnote 
The table of contents
Behind it
Pandoc and Typst run as WebAssembly inside the browser. The manuscript is read, typeset and exported on your own machine: no upload, no copy on a server.
- Type
- Web app
- Engine
- Pandoc + Typst
- Output
- PDF · EPUB
- Uploads
- 0
Need something like this built?
I design, build and host websites and web apps for businesses in Morocco and beyond. Tell me about yours.



Atay time!