Convert text to PDF

To convert text to PDF, paste your text or open a .txt file, choose the font and page size, and click Convert to PDF. The PDF keeps real, selectable text, and nothing is uploaded.

Updated

← All tools
Works in your browser

Tool

What you get with the Text to PDF

Real text

Selectable, searchable text that stays sharp when printed.

Your layout

A4 or Letter, three fonts, four sizes, three margin widths, page numbers.

Open TXT files

Load a .txt or .log file, or paste straight from any app.

Private

Made in your browser; your text is never uploaded.

When to turn text into a PDF

Plain text files are perfect for writing but awkward to share: they look different on every device, have no page layout and are easy to edit by accident. A PDF looks the same everywhere, prints on standard paper and is accepted by every upload form. Typical uses are letters and statements written in a notes app, logs and reports exported from software, poems and short stories, lists and instructions, and text copied from a website or email.

How to convert text to PDF

  1. Paste your text into the box, or click Or open a file and choose a .txt file.
  2. Choose A4 or US Letter. DocNova picks the usual size for your country.
  3. Pick a font: Sans serif for modern documents, Serif for letters and reading, Monospace for code, logs and anything that lines up in columns.
  4. Choose the font size and margins, and whether to add page numbers.
  5. Click Convert to PDF. Long text flows onto as many pages as needed.

Line breaks, spacing and special characters

Every line break in your text is kept, and blank lines stay as blank lines, so paragraphs and lists look the way you typed them. Long lines wrap neatly at the margin. Indentation at the start of a line is kept, which matters for code and outlines.

The PDF uses the standard PDF fonts, which cover English and Western European languages, including accents, curly quotes, dashes and the euro sign. If your text uses other scripts such as Arabic, Urdu, Hindi, Chinese or emoji, DocNova tells you and offers Save with my browser, which keeps every character.

Writing with headings and lists?

If your text uses Markdown, such as # Heading, **bold** or - list item, switch Text type to Markdown, or use Markdown to PDF, to get real headings, bold text and bullet lists in the PDF.

How to use the Text to PDF

  1. Paste or type your text, or open a TXT file.
  2. Choose the page size, font, font size and margins.
  3. Click Convert to PDF and download.

Questions

How do I convert a TXT file to PDF?

Click "Or open a file", choose the .txt file, check the settings and click Convert to PDF. The file name is used for the PDF.

Is the text in the PDF selectable?

Yes. The PDF contains real text, so it can be selected, copied and searched, and it stays sharp at any zoom.

Does it work with other languages?

Built-in PDF fonts cover English and Western European languages. For other scripts or emoji, DocNova offers Save with my browser, which keeps every character.

Is my text uploaded?

No. The PDF is made in your browser and the text never leaves your device.

Install DocNova

The app is free, opens like a normal app, and works offline for tools you've used.