← Back to all tools

Text to PDF

Turn a text file into a PDF. Choose the font, text size, line spacing, paper size and margins, and keep or join the line breaks.

Our free text to PDF converter turns a .txt file into a tidy PDF you can print or send. Choose a sans-serif, serif or monospaced font, set the text size and line spacing, pick the paper size and margins, and decide whether line breaks stay as they are or lines join into paragraphs. Accents, Arabic and Chinese text come through, and you can add many files at once.

How to Convert a Text File to PDF Online

  1. 1

    Add your text files

    Drop one or more .txt files on the page, or choose them from your device.

  2. 2

    Choose how it looks

    Pick a preset such as Readable document or Code or log listing, or set the font, size, spacing, paper size and margins yourself.

  3. 3

    Convert and download

    Press Convert and download the PDF. Several files come back together as a ZIP. Your files are deleted from our servers within 30 minutes.

Why Use the File Tools Online Text to PDF Converter

πŸ–¨οΈ

Convert in Seconds

Convert text to PDF or run a text to PDF converter pass without opening desktop software.

⚑

Fast Results

Upload, convert, and download in moments, generate a PDF from text with no long processing wait.

πŸ–₯️

Nothing to Install

Create a PDF from text without downloading an app, a plugin, or a dedicated PDF creator.

πŸ“±

Works on Any Device

Use this online text to PDF converter on a laptop, desktop, or phone using nothing more than a web browser.

πŸ”’

Files Handled Securely

Your file is processed over HTTPS and automatically deleted from our servers within 30 minutes.

πŸ’Έ

Free to Use

A free text to PDF converter, with no cost, no trial limit, and no forced watermark.

What Will My PDF Look Like?

A text file has no styling of its own, so the look comes from your settings. The default is Arial at 11 point with comfortable line spacing on A4 pages with 25 mm margins. Switch to a monospaced font to keep columns lined up, which is the right choice for code, logs and tables made with spaces.

Long lines wrap at the page edge and the text flows onto new pages. Tabs are kept. Files saved as UTF-8, UTF-16 or Windows text all open correctly, so accented letters and other alphabets stay intact. If your text was typed with a line break at the end of every row, choose Join lines up to each blank line so it reads as normal paragraphs.

Common Uses for Converting Text to PDF

Turning plain text into a PDF comes up whenever content needs to move from an editable, informal format into something fixed, shareable, and consistent no matter what device opens it, since a PDF looks the same whether it is opened on a phone, a laptop, or printed out, unlike a plain text file that depends on whatever program opens it.

  • Sharing Notes or a Draft as a Fixed FileTurn quick notes or a plain text draft into a PDF anyone can open.
  • Archiving Logs or Exported TextConvert log files or plain text exports into a stable, printable record.
  • Preparing Content for PrintingGet a text file into a page based format that prints cleanly.
  • Submitting Plain Text Where a PDF Is RequiredMeet a form or submission requirement that expects a PDF, not a .txt file.
  • Sharing Code or Config Files as a DocumentConvert a text based file into a PDF for review or reference.
  • Creating a Simple, Read-Only HandoutTurn written content into a PDF that will not be accidentally edited.

Can I Convert Notes or a Notepad File to PDF?

If your source is a file saved from the classic Windows Notepad app, that is a plain .txt file, so it fits this tool exactly, and converting Notepad to PDF works the same way as converting any other text file. A quick note-to-PDF pass is one of the more common reasons people reach for a tool like this. Notes apps such as Apple Notes or OneNote save in their own formats, which this tool does not read, because it takes plain text files. Export or copy your note as plain text, save it as a .txt file, and convert that.

PDF to Text: Which Direction Do I Need?

This tool converts in one direction only, from a text file into PDF. It does not pull the text back out of an existing PDF, and this site has no PDF to Text tool. One route is to convert your PDF to Word with PDF to Word, then turn that Word document into plain text with Word to Text. Formatting may shift along the way, so use it when you need the words rather than the layout.

Which Text Formats Can I Convert?

Plain .txt files are the expected baseline for a text to PDF converter like this one. If your content is already a Word document rather than plain text, Word to PDF is the more direct tool, and if you are starting from an OpenDocument text file, ODT to PDF is the better fit.

No Software to Install: Convert Text to PDF Online

Turning a text file into a PDF by hand usually means opening it in a word processor, adjusting margins and fonts, and using a print to PDF option, an extra few steps for something that started as plain text. Text to PDF on File Tools Online skips all of that. There is nothing to download and nothing to install, whether you are on Windows, Mac, Android, or iPhone, you upload your text file directly in your browser and get your PDF back.

Tips for Best Results

  • Use the code preset for logs. A small monospaced font keeps columns lined up.
  • Join hard-wrapped text. Text copied from an email often breaks every line. Joining restores real paragraphs.
  • Use Letter for the US. Pick US Letter if the document will be printed on American paper.
  • Widen the margins for binding. Open More options and raise the margin to 30 mm or more.
  • Keep the original file. You can change the settings and run again without adding the file twice.

Works on Windows, Mac, and Mobile

Because Text to PDF is used through your web browser, it works the same way regardless of your device or operating system. Convert a .txt file to PDF on a Windows PC, a Mac, an Android phone, or an iPhone without installing anything.

Frequently Asked Questions

What does this tool do?

It converts a plain text file, .txt, you upload into a PDF document.

Will my text be formatted in the PDF?

You decide the look. Choose the font, text size, line spacing, paper size and margins, and pick whether each line stays as it is or lines join into paragraphs. The text itself is never changed.

Can I convert a Notepad file to PDF?

Yes, a file saved from Notepad is a plain .txt file, so it works the same as any other text file with this tool.

Can I convert notes from an app like Apple Notes or OneNote?

Not directly. Those apps save in their own formats, so export or copy your note as a .txt file first.

Does this also work the other way, PDF to text?

No. This tool converts text to PDF only, and this site has no PDF to Text tool. You can convert the PDF to Word first, then that Word file to text.

Which file formats can I convert with this tool?

Plain .txt files are the expected baseline. For a Word document, use Word to PDF instead.

Is there a free way to convert text to PDF online?

Yes. Upload your file to Text to PDF and download the result, there is no cost to use it.

Do I need software installed?

No. Upload your file and convert it directly in your browser, no software installation required.

Can I use this on Windows, Mac, or my phone?

Yes. The tool runs in your browser, so it works the same way on Windows, Mac, Android, and iPhone without installing anything.

Can I convert more than one text file at once?

Yes. Add as many .txt files as you like. Each one becomes its own PDF and you can download them together as a ZIP.

Will long lines wrap automatically?

Yes. Long lines wrap at the right margin and the text carries on to the next page.

Is my file kept private?

Your file is processed over HTTPS and automatically deleted from our servers within 30 minutes.

Can I choose the font and size?

Yes. Pick sans-serif, serif or monospaced, and set the size from 7 to 20 point. Monospaced text keeps columns lined up, which suits code and logs.

Does it handle accents and other alphabets?

Yes. UTF-8, UTF-16 and Windows text files are read correctly, so accented letters, Arabic and Chinese appear in the PDF as long as your computer or ours has a font for them.

About the File Tools Online Text to PDF Converter

File Tools Online is a collection of free, browser based tools for working with audio, video, PDF, and document files, built for people who need a quick, reliable result without installing software. Text to PDF is one part of a larger set of document tools, so if plain text is not quite what you need, you can just as easily convert the same content to a Word document instead using the other tools in the same toolkit.

Turning a text file into a PDF by hand usually means routing it through a word processor first, adjusting the page setup, and printing to PDF from there, a handful of extra steps for content that started out as simple as a note or a text export. Browser based conversion skips straight to the finished file, useful for sharing a note as something fixed and shareable, archiving an exported log, or meeting a submission requirement that expects a PDF.

As with the other tools in the toolkit, files are handled over HTTPS and removed from our servers automatically within 30 minutes, so there is nothing left behind to manage or clean up after you get your result.

This page is also available in French: FranΓ§ais.