NinjaFunction (Ninja Function) logo

Text to PDF

Turn typed or pasted text into a PDF. Choose the page size, font, margins and page numbers. Free and private.


Your text

0 words · 0 characters

Page settings

Page size

Font

Margins

Line spacing

Your text stays on your device. The PDF is made in your browser.

Your PDF

Type or paste your text, choose the page settings, and click Create PDF. A preview and the download button appear here.

About This Tool

NinjaFunction's Text to PDF makes a PDF from any text you type, paste or open from a .txt file. Add an optional title, choose A4 or Letter, a font, text size, margins and line spacing, and switch page numbers on or off. The PDF contains real text that can be selected and searched, and you see a preview before you download. It is made in your browser, so your text is never uploaded to a server.

🔑 How to Use

  1. Add your text. Type it, paste it, or click Open .txt file. You can also try the sample text.
  2. Add a title if you want one at the top of the first page.
  3. Choose the page settings: page size, font, text size, margins, line spacing and page numbers.
  4. Click Create PDF. A preview of your file appears on the right.
  5. Click Download to save the PDF.

💡 Pro Tips

  • ✔ Use a blank line between paragraphs so they are easy to tell apart.
  • ✔ Pick Letter for the United States and Canada, and A4 almost everywhere else.
  • ✔ Use the monospace font for code, tables made of spaces and anything that must line up.
  • ✔ Make the margins wide if the page will be printed and put in a binder.

Choosing the Page Settings

SettingOptionsTip
Page sizeA4 or LetterUse the size your printer and country use
FontSans-serif, serif, monospaceSans-serif is easy to read on screens, serif suits long text
Text size8 to 24 points11 or 12 is normal for documents
MarginsNarrow, normal, wideNormal is about 0.75 inch (19 mm)
Line spacingTight, normal, wideWide leaves room to write notes between lines

What Is Text to PDF Good For?

  • Notes and lists: turn text from a notes app into a file you can email or print.
  • Letters and statements: make a plain document without opening a word processor.
  • Code and logs: save a snippet or an error log in a fixed width font.
  • Copied web text: keep an article or message as a file that looks the same everywhere.

This tool makes plain text pages. For pages that already exist as PDF files, use Merge PDF to join them, Split PDF to take pages out, or PDF to Images to save pages as pictures. To count the words in your text first, try the Text Manipulate Tool.

Frequently Asked Questions

How do I convert text to a PDF?

Type or paste your text, or open a .txt file. Choose the page size, font and margins, then click Create PDF. A preview appears, and you can download the file.

Can I convert a .txt file?

Yes. Click Open .txt file and choose a text file up to 2 MB. Its text is placed in the box, and you can change it before making the PDF.

Can the text in the PDF be selected and searched?

Yes. The PDF contains real text, not a picture, so you can select it, copy it and search it in any PDF viewer.

Which languages and characters are supported?

The built-in PDF fonts support English and most Western European languages, including accents such as é, ü and ñ, and common symbols such as € and curly quotes. Other writing systems, such as Hindi, Arabic, Chinese or Japanese, and emoji cannot be shown, so they are replaced with a question mark. The tool tells you when this happens.

How are new lines and paragraphs handled?

Every line break in your text starts a new line, and a blank line makes a gap between paragraphs. Long lines wrap by themselves to fit the page, so you do not need to press Enter at the end of each line.

How many pages can I make?

You can use up to 300,000 characters, which is well over 100 pages of normal text. The number of pages depends on the text size, margins and line spacing you choose.

Is my text sent to a server?

No. The PDF is made in your browser, so your text never leaves your device and nothing is stored after you close the page.

Always FreeAll tools are 100% free to use.
No Sign UpNo registration or login required.
Blazing FastInstant results, always.