Text / Markdown to PDF
Turn plain text or Markdown into a polished A4 PDF with a live, private browser preview.
Writing to PDF studio
Turn Markdown or plain text into a polished PDF
Write or open local text, keep the A4 preview visible and create a clean shareable document without a server.
Markdown
input mode
213
characters
A4
output
Raw HTML and unsafe links are escaped. External Markdown images are omitted to keep document processing private; embedded data images are supported.
Project brief
Turn notes into a clean PDF without uploading them.
Priorities
- Clear structure
- Readable typography
- Private browser processing
A useful document is easy to scan and easy to share.
Private workspace. Files stay in this browser tab and are never uploaded to ToolsOnDuty.
About the Text / Markdown to PDF
Text and Markdown to PDF turns authored content into a styled A4 document. Markdown mode supports the project's safe Markdown rendering, while plain-text mode preserves typed line breaks and spacing.
The workspace includes an editable title used for the filename, a local .txt or .md file opener, and a live A4-style preview. The complete preview is captured and sliced across portrait A4 pages.
Output is rasterized JPEG page content, so text is not selectable and long unbreakable blocks can cross page boundaries. Large documents are constrained by browser canvas dimensions and device memory.
Key features
- Markdown and plain-text modes
- Live styled preview
- Local TXT and MD file opening
- Custom output filename
- Portrait A4 multi-page output
- Safe rendered HTML
- Private browser generation
How to use
- 1Choose Markdown or Text mode.
- 2Write in the editor or open a local .md or .txt file.
- 3Set the document title used for the downloaded filename.
- 4Review headings, lists, quotes, spacing, and likely page breaks.
- 5Create the PDF and inspect the rasterized A4 output.
Examples
Markdown with headings, bullets, bold text, and a quoteStyled multi-page A4 PDFFrequently asked questions
- Can it open a local Markdown file?
- Yes. The editor can load local .md and .txt content.
- Is Markdown HTML sanitized?
- The preview uses the project's safe Markdown rendering rather than executing arbitrary scripts.
- Is output text selectable?
- No. The preview is captured as JPEG page imagery.
- Can I choose Letter paper?
- No. The current output is portrait A4.
- Why might a long code block split poorly?
- The captured preview is sliced at fixed A4 page heights rather than reflowed by a full print-layout engine.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
