Skip to content
GivenTool

Convert text to PDF

Turn plain text or Markdown into a neatly paginated PDF with headings, lists and tables.

Loading tool…

Notes, logs, README files and drafts are often plain text, while the place you send them wants a PDF. Paste the text or open a .txt or .md file, choose A4 or Letter, margins and font size, and the tool wraps the lines into pages with real, selectable text.

With Markdown formatting on, "# Heading" lines become headings, **bold** and *italic* are styled, "-" and "1." lines become lists, | tables | become tables and fenced code blocks are set in a monospaced font on a grey background. Turn it off to keep the text exactly as typed, line breaks included.

How to use it

  1. Paste or type the text, or open a .txt or .md file.
  2. Choose whether to format Markdown.
  3. Pick the page size, margins and font size.
  4. Click Create PDF and download it.

Frequently asked questions

Are my files uploaded?

No. The file is read and processed by your browser on your device; nothing is sent to a server. You can load the page, switch off Wi-Fi and it still works.

Which Markdown features are supported?

Headings, bold, italic, inline code, bulleted and numbered lists, quotes, tables, horizontal rules and fenced code blocks. Links are printed as their text.

Can I use Arabic or Chinese text?

The built-in font covers Latin, Greek and Cyrillic. Other scripts are replaced by "?" and the tool tells you how many characters were affected.

How long can the text be?

Up to 1,000,000 characters, which is several hundred pages.

Are long lines of code wrapped?

Yes. Lines in code blocks that are too long for the page are broken at the right margin so nothing is cut off.