Text to PDF

Type or paste text, or open a TXT file, and save it as a PDF.

More PDF Tools

Supports TXT · Up to 0.3 MB per file

How to Use Text to PDF

  1. Start with your text

    Choose Type or paste text to start writing, or choose Select a text file to open a TXT file. You can also drop a TXT file into the panel.

    Use up to 75,000 characters. Open one TXT file at a time, up to 0.3 MB. Pasted text is added as plain text; apply its formatting here.

    On the opening screen, select Page in the toolbar. The card shows just Document language. You can change it in the same card after opening a TXT file or while typing or pasting text. It starts with the first supported language in your browser preferences, or English.

    Changing Document language reads an unedited TXT file again only if Auto needs the language to decode it. A manually selected File encoding stays in use. If you have typed, pasted or formatted text, changing the language keeps your content and formatting. It also selects the regional font for Han characters.

  2. Format text and paragraphs

    Select the text you want to change, then use the formatting bar above the document. With no text selected, font and style choices apply to what you type next.

    Choose a Font and set Size (pt) from 6 to 96 pt. Body text starts at 12 pt. Text size is in the formatting bar, separate from Page.

    Use B, I, and U for bold, italic, and underline. Choose Text color to change the lettering.

    Select text and choose Link. Enter an address starting with http://, https://, or mailto:, then choose OK. To change an existing link, place the cursor in it and open Link again. Remove link removes the link; Cancel closes the window without applying the new address.

    Open Aa for Strikethrough, Superscript, Subscript, To uppercase, or To lowercase. Select text before changing its letter case.

    In Text background, choose Background color first. Then adjust Padding (pt), Background opacity, and Corner roundness. Choose No background to remove it.

    Use Text alignment to align the current or selected paragraphs left, center, or right.

    Choose Body text, Heading 1, or Heading 2 in Paragraph style. Headings are bold automatically. Increase indent and Decrease indent move the paragraph inward or back toward the margin.

    On a phone or tablet, swipe the formatting bar sideways to reach more controls. On a desktop, use ‹ / › when those arrows appear.

    Use Undo and Redo on the right of the toolbar to move through your edits. Each change to the page size, orientation or margins is a separate step.

    A formatted reading group announcement in the text editor, with formatting controls above and Replace and Download PDF below.
  3. Add images and breaks

    Place the cursor where you want to insert something, then open Insert. Choose Image for a picture, Horizontal line for a divider, or Page break to start the following content on a new page.

    Add up to 50 images in JPEG, PNG, WebP, AVIF, or HEIC/HEIF format, up to 50 MB per file.

    Select an inserted image to adjust Image width from 10% to 100% of the text area. Use Text alignment in the formatting bar to move the image left, center, or right.

    Choose Add caption on the selected image and type your caption. It appears inside the bottom of the image. Use Caption alignment to align it left, center, or right. Clear the caption and leave the field to remove it.

    Image changes apply immediately. Cancel closes the image controls and keeps those changes; Remove image deletes the selected image. Images stay together on a page in the PDF.

  4. Set up the pages

    Select the Page icon at the left of the toolbar. The page settings open below it.

    While editing, choose A4 or Letter for Page size, then Portrait or Landscape for Orientation. For Margin, choose Narrow, Normal or Wide. New documents start with A4, portrait orientation and normal margins. File encoding appears only for an open TXT file, immediately below Document language. If Auto cannot read the file, this panel opens. Choose the encoding before editing. A successful manual encoding change reads the original TXT again and replaces your current text, formatting, images and edit history. Page settings stay the same.

  5. Check the PDF preview

    The editor shows page breaks as you work. Choose Preview to check the finished pages at a larger size, including text, images, and captions.

    Use Previous page and Next page below the preview to turn pages. Close the preview with ×, Esc, or the browser’s Back button to continue editing.

  6. Save your PDF

    Choose Download PDF below the editor, beside Replace.

    Your document is saved as one PDF with its formatting, images, and captions. Open the saved PDF to follow its links. Text and images are processed in your browser; your original files are unchanged.

Change your document or try again

Reset clears the text, images and formatting and restores the default page settings. The editor stays open. Choose Undo to restore the document.

Use Replace to open another TXT file as a new document with default settings. While the file is opening, Cancel returns to your current document.

If a file is refused, check the reason beside its name and choose a supported file within the limit. Other accepted images stay in the document. If an encoding cannot be read, choose another encoding; the current text is kept until a new reading succeeds.

If the text is over 75,000 characters, shorten it and try again. If a notice lists characters that cannot be included, replace those characters or download the PDF with them left out.

If fonts cannot load, check your internet connection and try again. If the preview fails, choose Try again when offered, or choose Download PDF again to retry saving.