NazarTools.com

HTML to PDF from text or code

Paste HTML or plain text, or choose a file, and get a clean PDF. Your text never leaves your device.

FreeNo uploadNo sign-up

How HTML to PDF works

  1. Paste your text or HTML into the box, or choose a .html or .txt file.
  2. Pick the text size and page size.
  3. Press “Convert to PDF”. Your PDF downloads automatically.

Tips

Privacy

Your text is converted on your own device. Nothing is uploaded or stored, and the text is cleared when you close the page.

Frequently asked questions

Does my HTML keep its design, colours and images?

No. Only the text, headings, lists and tables are kept, in a simple black-and-white layout. CSS styles, colours, pictures and bold or italic text are not copied.

Can I convert a web page?

Copy the page's HTML (or just its text) and paste it here. Some pages load their content with scripts, and that content may not be in the HTML you copy.

Is my text uploaded anywhere?

No. The text is converted inside your browser, and we never receive it.

Why do some letters show as ?

Urdu and other Arabic-script text is drawn as a picture, so the letters join correctly. That text cannot be selected or searched in the PDF. Other scripts, such as Hindi or Chinese, are not supported yet and appear as ?.

Is there a size limit?

Up to 1,000,000 characters. Longer text is cut to this limit, and you are told when that happens.

Why people choose NazarTools

Stays on your device

Files are handled by your browser. We never receive them.

No sign-up

Open the page and start. No account, no email.

Instant results

No upload queue, so results appear as soon as the work is done.

Works on mobile

Use it on a phone, tablet or computer.

No watermark

Everything you download is clean and ready to use.

Free to use

All tools cost nothing. Pick one from the menu.