Text to PDF
Create a simple PDF from the text you enter.
About Text to PDF
Some forms and portals only accept PDF, even for a short statement, a cover note or a list. When you have plain text and no word processor at hand, this tool turns typed or pasted text into a basic, readable PDF in seconds. It also suits quick printouts that should look the same on any device.
How it works
Text is set in 12-point Helvetica with 16-point line spacing on A4 pages (595 by 842 points) with 48-point margins. Words wrap automatically at the margin, each line break starts a new line, and new pages are added as needed, about 47 lines per page. Blank lines between paragraphs collapse to a single break, so paragraphs are not separated by space. There are no fonts, headings, bold or images. Characters outside the Western Helvetica set cause an error. The file is text.pdf, built with pdf-lib in your browser.
How to use Text to PDF
- Enter the text or data in the format shown in the text box above (Write the PDF content...).
- Select “Run tool” and check the result before copying or downloading it.
Worked example
Paste a 400-word complaint letter with line breaks after the greeting and each paragraph. You get text.pdf as a single A4 page with roughly 85 to 95 characters per line, left aligned in dark gray-blue. If the box is empty, the PDF simply contains the words Empty document.
Tips for a better result
- To separate paragraphs visually, start each one with a short marker or indent, because blank lines do not add vertical space here.
- Replace tabs with spaces before converting. There are no tab stops, so columns made with tabs will not line up.
- Very long unbroken strings, such as URLs, are not split and can run past the right edge. Shorten or break them.
Frequently asked questions
Can I use other languages?
Only text in the Western European character set works, because the built-in Helvetica font cannot encode other scripts. Chinese, Arabic, Cyrillic or emoji will cause an error.
Can I change the font size or page size?
No. A4 pages, 12-point Helvetica, 48-point margins and 16-point line spacing are fixed in the code.
Why did my blank lines disappear?
Any run of line breaks is treated as a single new line. Paragraphs therefore follow each other without a gap in the PDF.
What to check
PDF features and encryption vary. Keep the original and check signatures, page order and readability.
Read the Privacy Policy for information about local processing, connected services and advertising.