Skip to main content

Convert TXT to PDF

Processed in your browser. Your file never leaves your device.

Loading tool…

How to convert a text file to PDF online for free

  1. Add text

    Select one or more TXT files or choose Or paste text instead and enter your content.

  2. Choose the layout

    Choose A4 or Letter, a 10, 12, or 14 point font size, Small, Normal, or Big margins, and 1.0, 1.15, or 1.5 line spacing. With several files you can merge them into one PDF.

  3. Convert and download

    Click Convert to PDF. Text wraps across pages. Pasted content is saved as pasted-text.pdf; merged files are saved as combined.pdf.

Hindi and other non-Latin text

Characters above U+00FF switch the converter to canvas-rendered pages embedded as images. The bundled Noto Sans Devanagari font supports Hindi shaping. Other scripts depend on available font coverage, so inspect the output rather than assuming every language will render correctly.

Selectable text versus image pages

The standard-font path produces selectable text for supported characters. Jobs routed through the non-Latin path produce image pages, so their text cannot be selected or searched as PDF text.

Limits and troubleshooting

Conversion runs in your browser. Large files depend on device memory, especially with image-based pages. Try a smaller input if export fails. If glyphs are missing, check the script and available fonts rather than expecting conversion to repair the source text.

Frequently asked questions

Can I paste text instead of choosing a file?

Yes. Choose Or paste text instead, enter your text, and convert it. The output is named pasted-text.pdf.

Can I convert several TXT files?

Yes. Add several files and choose whether to merge them into combined.pdf or create separate PDFs.

What layout settings can I change?

Choose A4 or Letter pages, 10, 12, or 14 point text, Small, Normal, or Big margins, and 1.0, 1.15, or 1.5 line spacing.

How is Hindi rendered?

Devanagari input uses browser text shaping with bundled Noto Sans Devanagari and is embedded as image pages. Review the result; those pages do not contain selectable PDF text.

Why is some output text not selectable?

Input containing characters above U+00FF uses an image-based rendering path for the job. Supported standard-font text uses the selectable-text path.

Does the converter send my text to Google Fonts?

No. Fonts are bundled through local font packages, not requested from Google Fonts. TXT content and pasted text are converted in the browser, not uploaded.

Related tools