Skip to content
Start scanning

Home / Tools / Text & HTML to PDF

Text & HTML to PDF online

Paste plain text or simple HTML, or open a .txt or .html file, and turn it into a clean, paginated PDF.

Files are processed in your browser and never uploaded.

How to use Text & HTML to PDF

1

Type, paste or open your text.

2

Choose page size, font size and margins.

3

Create and download the PDF.

Turn plain text or simple HTML into a clean PDF

Sometimes all you have is text: notes typed on your phone, a message you want to keep as a document, an essay written in a plain editor, minutes of a meeting, a list of rules, or a simple HTML page. Sending that as a PDF makes it look finished, keeps the formatting fixed, and lets anyone open and print it the same way. PDFNova's Text & HTML to PDF tool turns pasted text, simple HTML, or an opened .txt or .html file into a neat, paginated PDF with the page size, font size and margins you choose.

Everything happens in your browser. Your text is not uploaded.

3

Simple steps from start to download

0

Files uploaded. Everything runs on your device

Free

No sign-up, no watermark, no daily limit

How to convert text to PDF

1

Type, paste or open your text

Paste text from anywhere, type directly, or open a .txt or .html file from your device.

2

Choose page settings

Pick a page size, font size and margins.

3

Create and download the PDF

The text is laid out across as many pages as needed, with automatic page breaks.

What HTML is supported

You can use simple HTML to give your document structure. Supported elements include:

T

<h1> to <h3>

Headings in larger, bold text

 

Paragraphs with spacing

<ul>, <ol>, <li>

Bulleted and numbered lists

<b>, <strong>

Bold text

 

Line breaks

!

For full web pages with images, styles and layouts, use Webpage to PDF or our guide on HTML to PDF, which covers different methods.

Urdu and other right-to-left scripts

Urdu, Arabic and other right-to-left scripts are laid out using your device's fonts automatically, so you can paste Urdu text and get a correctly ordered PDF. If you want to type Urdu without an Urdu keyboard, or need a Nastaliq font, use Urdu Typing to PDF, which offers phonetic typing and an on-screen keyboard.

Choosing settings

✓

Page size: A4 for most documents in Pakistan and internationally, Letter for US recipients.

✓

Font size: 11 or 12 is comfortable for printed documents. 14 or more is easier on phones and for older readers.

✓

Margins: normal margins look professional and leave room for binding or hole-punching. Narrow margins fit more on each page.

Practical uses

Saving notes and messages

Phone notes, important chats and emails can be preserved as PDFs, which are easier to file, print and share than screenshots. See how to turn notes into a PDF.

Quick documents without Word

If you do not have Microsoft Word or Google Docs handy, write your text anywhere, paste it here and get a printable PDF. It is ideal for notices, simple letters, rules, instructions and lists.

Converting .txt files

Plain text files from software, logs, exported data or old documents become readable, paginated PDFs. Our TXT to PDF guide covers this in detail.

Developers and writers

Content written in simple HTML or exported from a markdown editor can be converted into a shareable document without a full publishing tool.

Tips for good-looking text PDFs

✓

Use blank lines between paragraphs when pasting plain text, so the PDF keeps the spacing.

✓

Add headings with <h2> if you want sections to stand out.

✓

Proofread before converting. PDFs are harder to change afterwards, although the PDF Editor can fix small mistakes.

✓

Add page numbers to longer documents with Page Numbers.

✓

Add a header or footer such as your organisation name with Header & Footer.

Text to PDF or Word to PDF?

If your document is already a Word file with tables, images, headers and styles, use Word to PDF, which keeps the exact layout. Text & HTML to PDF is best for plain or lightly structured text when you want a quick, clean result.

Is the text selectable in the PDF?

Yes for English and other Latin text, which means the PDF can be searched and copied. Right-to-left scripts are drawn with your device fonts so they display correctly everywhere.

Private, free, no sign-up

Text & HTML to PDF builds the document on your device. Nothing is uploaded, and there is no account, watermark or limit.

A quick example

A school administrator writes the new timetable rules in a WhatsApp note. To send a printable version to parents, they paste the note, add an <h2> heading for the title and a bulleted list for the rules, pick A4 with font size 12, and download the PDF. It prints neatly, looks official and cannot be edited by accident. A footer with the school name and date can be added with Header & Footer.

Works on any device

The tool runs in mobile and desktop browsers, so you can create a PDF from text written on your phone without installing an office app.

Troubleshooting

My HTML tags appear as text

Check that tags are typed correctly, such as <p> and </p>, and that you pasted into the HTML option rather than plain text.

Urdu letters are not joining

Your device may lack a suitable Urdu font. Use Urdu Typing to PDF, which includes Nastaliq and Naskh fonts.

Questions about Text & HTML to PDF

Quick answers about privacy, limits and results. Need more help? Contact us.

Does it support Urdu text?

Yes. Right-to-left scripts are laid out with your device fonts automatically.

Which HTML is supported?

Headings, paragraphs, lists, bold text and line breaks are converted.

Are my files uploaded to your server?

No. This tool runs entirely in your browser, so your files never leave your device.

Is it free?

Yes. Every browser tool is free to use without sign-up or watermarks.

Scroll to Top