Skip to main content

Find your next tool

TXT to PDF Converter — Convert Text Files Online

Convert a TXT file or pasted text to PDF in your browser. Windows line endings, tabs, Chinese and Arabic text and long lines are handled; pick Courier for logs.

Loading only the code needed for this tool…

PDF conversion

Convert for the destination, not just the extension

The useful conversion is the one that matches the receiving workflow. Check page size, orientation, image clarity, text readability and the resulting file before replacing the source or submitting the PDF.

Input

.txt

Output

PDF

Batch

Up to 10 files per run

Font SelectionPage SizeMargins
Batch-aware

Up to 10 files per run. Only use one run when files share the same operation.

Workflow continuity

Move into a related operation instead of re-finding the tool.

Output-ready

Download a destination-ready result and verify it before sharing.

File limits

Configured runtime limit applies.

PDF quality check before download
Check page dimensions
Review text and images
Verify the output opens cleanly

Natural next steps

Continue with a related tool using the same file workflow.

Supported input

TXT

Output

PDF

Multiple files

Check the upload limit below

Keep your source

Review the result before sharing

Smart workflows

Finish the job, not just the file

Use the existing tool graph to continue into useful next steps. Bulk and output-packaging capabilities are surfaced automatically where the underlying tool supports them.

Bulk processingZIP-ready outputWorkflow-ready

Continue with Json To Pdf

Bulk-ready

Finish the job after Txt To Pdf with a relevant MAXScanner tool, without creating a duplicate converter page.

  1. Txt To Pdf
  2. Json To Pdf
Output: Json To Pdf

Best when Txt To Pdf is only the first step in your workflow.

Continue with Image To Pdf

Bulk-ready

Finish the job after Txt To Pdf with a relevant MAXScanner tool, without creating a duplicate converter page.

  1. Txt To Pdf
  2. Image To Pdf
Output: Image To Pdf

Best when Txt To Pdf is only the first step in your workflow.

About This Tool

To convert TXT to PDF, upload the .txt file (or paste the text), pick a page size and font, then select Convert to PDF. The text is laid out on PDF pages in your browser and is not uploaded. With the defaults (A4, Helvetica 12 pt, 1.5 line spacing, 1-inch margins) each page holds 39 lines.

What happens to the text

  • Line endings: Windows (CRLF), Mac and Linux line endings all become ordinary line breaks.
  • Tabs: each tab becomes spaces up to the next 4-column stop, so indented lines stay indented.
  • Long lines: lines wrap at spaces. A token wider than the page, such as a long URL or Chinese text written without spaces, is split between characters instead of running off the edge.
  • Other scripts: Chinese, Japanese, Korean and Arabic text switches to a matching Noto font automatically, and Arabic letters are joined and run right to left. For Hebrew or Thai, choose Noto Sans Hebrew or Noto Sans Thai in the font list.

Results from real files

InputPDFTime
Windows Notepad file, 60 notes with tabs, 5,031 bytes2 pages, 2,790 bytes0.45 s
Server log, 5,000 lines, 394,390 bytes129 pages, 188,721 bytes1.24 s
Chinese paragraph without spaces, 769 bytes1 page, 7,046 bytes, wrapped1.6 s
Arabic sentence, 140 bytes1 page, 5,299 bytes0.8 s

Measured on 18 October 2026 in Chrome with the default settings. Files with other scripts take longer because the font is downloaded once and then cached.

Choosing a font

Use Courier for logs, code and text tables: every character has the same width, so columns that line up in Notepad still line up in the PDF. Helvetica and Times are easier to read for notes and letters, but spaces are narrower than letters, so aligned columns drift.

When another route is better

Hindi, Bengali, Tamil and other Indic scripts, and emoji, are not supported yet: the converter stops with an error rather than printing empty boxes. For those, open the file in a browser or word processor and use Print → Save as PDF. That route is also the one to use when you need bold headings or mixed fonts, because a TXT file carries no formatting at all.

How to Use

  1. Add the text

    Upload one or more .txt files, or switch to direct text entry and paste. Several files are joined in the order shown, with a blank line between them.

  2. Set the page

    Choose A4, Letter, Legal, A5, A3 or a custom size in points, and portrait or landscape. Landscape suits wide logs and tables.

  3. Pick font and spacing

    Courier for logs and aligned text, Helvetica or Times for prose. Leave wrapping on unless every line must stay on one row.

  4. Convert and check

    Select Convert to PDF, download, and look at the first and last page. The file is named after the source, for example notes.txt becomes notes.pdf.

Use Cases

Notepad notes and exports

Windows .txt files with CRLF line endings and tab indents convert as they look in Notepad.

Logs and code for review

Print a log or config file in Courier, in landscape if lines are long, so it can be annotated or attached to a ticket.

Text in other scripts

Turn Chinese, Japanese, Korean or Arabic text into a PDF with the correct font picked automatically; pick the Noto font for Hebrew or Thai.

Frequently Asked Questions

How do I convert a Notepad file to PDF?+

Upload the .txt file here and select Convert to PDF. Windows line endings and tabs are converted automatically. Inside Windows you can also use File → Print → Microsoft Print to PDF in Notepad.

Is my text uploaded to a server?+

No. TXT to PDF runs in your browser. Only the fonts for non-Latin scripts are downloaded, and your text is not sent with that request.

Can I convert Arabic or Chinese text to PDF?+

Yes. Arabic, Chinese, Japanese and Korean text gets a matching Noto font automatically, and Hebrew or Thai works once you choose Noto Sans Hebrew or Noto Sans Thai. Hindi, Bengali, Tamil and emoji are not supported yet; the converter stops instead of printing empty boxes.

Why do my columns not line up in the PDF?+

Helvetica and Times are proportional fonts. Choose Courier, which gives every character the same width, and the spacing from the text file is kept.

How many pages will my PDF have?+

With the defaults, 39 lines fit on an A4 page, so a 5,000-line log made 129 pages in our test. A smaller font size, less line spacing or landscape orientation fits more on each page.

Can I combine several text files into one PDF?+

Yes. Add the files together and they are joined in the order listed, separated by a blank line, into a single PDF.