TXT to PDF Converter

Turn a plain text file into a PDF — convert a .txt to a clean, paginated PDF. All in your browser, nothing uploaded. Free on LK Forge — no sign-up.

Drop a .txt file here, or click to browse Plain text · stays on your device

How to Create a PDF from a Text File

Three steps, all in your browser.

1

Add your text file

Drag in a single .txt file, or click to browse and choose one. Nothing is uploaded.

2

Choose font and page size

Pick a proportional or monospace font and an A4 or US Letter page size.

3

Create and download

Click Create PDF to build the file, then download it or open it in a new tab. Need a Word document turned into a PDF instead? Use the Word to PDF converter.

For richer sources, Word to PDF handles .docx and HTML to PDF renders markup. Going the other way, PDF to Text pulls the text back out of a PDF.

How the text is laid out

A plain text file has no formatting to preserve, so the only decisions are pagination and wrapping.

TXT to PDF behaviour
AspectBehaviour
Input format.txt, read as plain text
Line breaksPreserved as written
Long linesWrapped to the page width
PaginationText flows onto as many pages as needed
FontA standard PDF font — the source has none to carry over
EncodingRead as text by the browser; unusual encodings may not map cleanly

Frequently Asked Questions

What does this tool do?
This TXT to PDF converter takes a plain .txt file and lays it out as a clean, paginated PDF. Blank lines are preserved and long lines are wrapped to fit the page, so the result reads the same as the original text file, just as a shareable PDF. Nothing else about the text is reformatted.
Does it handle special characters and encoding?
Yes — special characters and encoding are handled. The file is read as UTF-8, so accented letters, symbols and text in most languages come through correctly. If a source file was saved in a different encoding, its special characters may not display as expected — re-saving it as UTF-8 first fixes that.
Are my files uploaded anywhere?
No — the converter runs entirely in your browser. Your text file is read and turned into a PDF on your own device, and nothing is uploaded, logged or stored. That makes it safe for private notes and documents, and it keeps working offline once the page has loaded. Closing the tab clears everything.
Can I choose the font and page size?
Yes — font and page size are both yours to pick. Use a proportional font for easier reading or a monospace font to preserve aligned columns and code-like spacing, and choose between A4 and US Letter page sizes before creating the PDF. Monospace is the right choice for code or tabular text.

Last updated: