Skip to main content
PDFCraft

Text to PDF

Type or paste text — or upload a .txt file — and get a clean, paginated PDF. Choose the font, size, page size and margins.

Processed in your browser — this file never leaves your device.Powered by pdf-lib

Add more files

Select file

Accepted: TXT, MD · Max 25 MB per file

This tool doesn't need a file — configure it below.

Options

Your files stay private

This tool runs entirely in your browser. Your document is never uploaded to our servers.

Read our privacy policy

How it works

  1. 1

    Enter text

    Paste text into the editor or upload a .txt file.

  2. 2

    Choose formatting

    Pick the font family, font size, page size, orientation and margins.

  3. 3

    Convert

    Download your text as a PDF.

Frequently asked questions

Does it support Arabic or other non-Latin scripts?

Latin text is converted instantly in your browser. Text with other scripts is rendered on our servers with full Unicode support — you'll be asked to confirm.

Is line wrapping automatic?

Yes, long lines wrap to the page width and paragraphs flow across pages.

Can I use Markdown?

Markdown files are treated as plain text. Use HTML to PDF for formatted output.