Text to PDF

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

On-device No sign-up Free to use

Create the PDF controls

Drop your text file here

or choose one from your device

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

    ?

    Paste plain text here, or choose a .txt file. A selected file is used instead of this text.

    ?

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

    ?

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

    Advanced
    ?

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

    Result

    Showing an example.

    Turn three short paragraphs into a one-page PDF.

    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.

    Loading the tool. Your result will appear here.

    https://usefreetools.net/text-to-pdf · 20 November 2026

    Was this helpful?

    How to use Text to PDF

    1. Paste plain text or choose one UTF-8 .txt file. A selected file is used instead of the pasted text.
    2. Choose page size, orientation and Helvetica, Times or Courier.
    3. Set text size, line spacing and margin. Add an optional first-page title line if needed.
    4. Select Create the PDF, download it and check wrapping and page breaks.

    Example: Text to PDF

    Turn three short paragraphs into a one-page PDF.

    You add
    Text: Quarterly notes Review the draft with the project team and record any changes before sending the final copy. Keep the original notes for reference. 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
    • Paste plain text or choose one UTF-8 .txt file up to 5 MiB.
    • A selected file replaces pasted text.
    • Source text is limited to 20,000 lines; unsupported characters and binary file data are refused.
    • Word, PDF and rich text files are not accepted.
    • Standard PDF fonts support limited Latin/WinAnsi text rather than every writing system.
    More details

    Words wider than the line are split to fit and tabs become four spaces.

    A line reading --- Page break --- or a form feed starts a new page.

    Where your input is processed

    This tool does not upload your inputs. See the limits for anything saved on your device.

    Why the fonts decide which languages work

    The PDF uses standard Helvetica, Times or Courier fonts with limited Latin/WinAnsi character coverage. It does not embed a custom font or substitute one for unsupported scripts; unsupported characters are refused. This is plain-text layout, with preserved blank lines, word wrapping and an optional larger title, rather than rich document, table or column conversion.

    How the pages fill up

    Text wraps at spaces inside the printable width, and an overlong word is split so it fits. A line that would cross the bottom margin begins the next page. Blank lines take vertical space. Font choice and size change measured widths, so the same text can wrap and paginate differently; inspect the actual PDF rather than assuming one font always fits more characters.

    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.

    Page updated · Project managed by Tony Hines · Report a problem with Text to PDF