Skip to content
hateitall

Text to PDF

Paste notes, logs or a .txt file and get a tidy PDF with real, searchable text in seconds.

Processed locallyIn: Text, TXTOut: PDF

Loading tool…

How to use text to pdf

  1. Paste or type your text, or open a .txt file.

  2. Add an optional title.

  3. Pick page size, orientation, font, text size and margins.

  4. Select Make PDF and download it.

What this tool does

  • Keeps your line breaks, blank lines and indentation.
  • Wraps long lines and breaks very long words such as URLs so nothing runs off the page.
  • Serif, sans serif or monospace fonts, six page sizes and optional page numbers.
  • Produces real text that can be searched, selected and copied.

How the result is verified

The new PDF is reopened with pdf-lib and pdf.js, its page count is checked, and words from your text are read back from the first pages.

Frequently asked questions

How do I keep columns lined up?

Choose the monospace font. Every character then has the same width, so spaced columns and code stay aligned.

Can I convert text in Hindi, Chinese or Arabic?

The direct PDF uses the standard fonts, which do not include those scripts. Use Open print view and choose Save as PDF; your device's fonts then cover them.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Markdown to a styled PDF with tables, code and clickable links

Markdown · MD→ PDFLight on device

Extract readable DOCX paragraphs and rebuild them into a clean paginated PDF.

DOCX→ PDFModerate on device

Combine images into one PDF with page size, orientation, margins, and explicit ordering.

JPEG · PNG · WebP→ PDFModerate on device

Combine multiple PDFs into one, with drag-free reordering and page-count verification.

PDF→ PDFModerate on device