Text to PDF

Turn pasted text or a plain .txt file into a paginated PDF with your choice of page and font.

Files stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Create the PDF controls

Drop your text file here

or choose one from your device

Optional. Up to 5 MB of UTF-8 text. Plain text only: Word, PDF and rich text files are not accepted.

    Paste plain text here, or add a .txt file. Leave this empty when you upload a file.

    Multiple of the text size. 1.4 is comfortable for reading.

    72 points is one inch. 56 points is about 2 cm.

    Optional. Printed at the top of the first page in a larger size.

    How to use Text to PDF

    1. Paste plain text into the Text box, or add one UTF-8 .txt file.
    2. Choose the page size, orientation and font.
    3. Set the text size, line spacing and margin, and add a title line if the first page needs one.
    4. Select Create the PDF and download the file.

    Example: Text to PDF

    Turn three short paragraphs into a one-page PDF.

    You add
    Text: the heading Quarterly notes, then a paragraph that wraps over several lines, then a closing paragraph. Page size: A4. Orientation: Portrait. Font: Helvetica. Text size: 11 points. Line spacing: 1.4. Margin: 56 points. Document title line: empty.
    You get
    The result reports that a one-page PDF was created and downloads a .pdf file. The three blocks stay in order, and the longest paragraph wraps instead of running past the margin.

    Options

    Line spacing
    A multiple of the text size. 1.4 is comfortable to read; 2 leaves room for notes.
    Margin in points
    72 points is one inch. 56 points is about 2 cm, which suits A4 and Letter.
    Document title line
    Prints once at the top of the first page in a larger bold font. The body starts below it.

    Supported inputs and limits

    File sizeOne UTF-8 .txt up to 5 MiB
    LinesUp to 20000 lines
    FontsPDF standard set: Latin letters, digits and common accents
    Pasted plain text, or one UTF-8 .txt file up to 5 MiB and 20000 lines. Word, PDF and rich text files are not accepted, and binary data is refused. The fonts are the PDF standard set, so Latin letters, digits and common accents work and other writing systems need a different tool. A word wider than the line is broken at the margin, and a tab becomes four spaces. A line reading --- Page break --- or a form feed character starts a new page.

    Where your input is processed

    This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

    Why the fonts decide which languages work

    Helvetica, Times and Courier are the three fonts every PDF reader already has, so the file stays small and needs no embedded font data. The trade-off is coverage: they hold Latin letters, digits, punctuation and the WinAnsi accents, and nothing else. Text outside that set is refused instead of quietly printing blank boxes, because a missing glyph is worse than a clear refusal. The layout is a plain word wrap as well, not a typesetter: blank lines are kept and a title can be drawn larger, but there are no columns or tables.

    How the pages fill up

    Text wraps at word boundaries inside the printable width. A page keeps taking lines until the next one would cross the bottom margin, and that line opens the following page. A blank line is kept as vertical space. Courier is monospace and fits fewer characters per line at the same point size, so a fixed-width document runs longer than the same text set in Helvetica.

    Questions about Text to PDF

    Can I convert a Word document here?

    No. The source must be plain text. Save the document as plain text or UTF-8 .txt, then add that file here.

    Why were some characters refused?

    Latin letters, digits and common accents are supported, but the standard PDF fonts cannot draw every script. Characters outside that set are refused with a message instead of being printed as blank boxes. Those characters need a tool with wider font support.

    How do I force a new page?

    Put a line that reads --- Page break --- where the new page should start, or paste a form feed character.

    Why is a long word split in the middle?

    A word wider than the printable line is broken at the margin so it cannot run off the page. Everything else wraps at spaces.

    Project manager: Tony Hines · Content updated 29 September 2026 · Report a problem