Text to PDF
Paste text or open a .txt file and turn it into a tidy PDF: headings and lists, your choice of font, size and margins, and proper Arabic. Saved via “Save as PDF” in the print dialog.
The tool
How to use
- Type or paste the text, or open a .txt file.
- Pick the format: paragraphs, simple Markdown (# heading, - bullet) or as-is.
- Set the paper, font and margins, and check the preview.
- Press “Print / Save as PDF” and choose “Save as PDF” in the print dialog.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
- Saving happens in the print dialog: choose “Save as PDF” as the printer. Page numbers need a recent browser (Chrome 131+ or a recent Firefox).
Frequently asked questions
Why save through the print dialog?
The browser renders Arabic perfectly (joined letters and diacritics), and the text stays selectable and searchable in the PDF. PDF generation libraries do not shape Arabic correctly.
What is simple Markdown?
A line starting with # becomes a heading (## and ### smaller), - or * makes a bullet, 1. makes a numbered item, and --- a divider. A blank line separates paragraphs.
An English paragraph inside Arabic text has the wrong direction?
With “Auto” each paragraph follows most of its letters. To force one direction for everything choose “Right to left” or “Left to right”.
Page numbers do not show?
It depends on the browser: Chrome 131+ and recent Firefox support it. Also check the “Headers and footers” option in the print dialog is not duplicating them.
Is my text saved?
No. The text stays on the page only and is gone on reload.