Pixuna

Pixuna Guide

How to Convert Text or HTML to PDF in Your Browser

Create a PDF from plain text or HTML with page size, font, and margin options, and see which limits apply.

Published · 2 min read

Open TXT to PDF

Plain text to PDF

Type or paste text, or open a .txt file, and choose A4 or US Letter, a sans-serif, serif, or monospace font, a font size from 7 to 24 points, and narrow, normal, or wide margins. Pixuna wraps long lines and adds pages as needed.

HTML to PDF

The HTML to PDF tool reads the document structure and lays it out as text: headings, paragraphs, lists, block quotes, preformatted blocks, rules, and tables. It does not run a full browser rendering engine, so CSS, images, background colors, and web fonts are ignored.

Scripts and unsafe markup are removed by default before the HTML is parsed.

Character support

These tools use the standard fonts built into the PDF format, which cover Latin characters. Characters outside that set, including most non-Latin scripts and emoji, are replaced with "?". If you need other scripts or exact visual styling, use the print-to-PDF feature of your browser or a word processor instead.

Related steps

After creating a PDF you can add page numbers, merge it with other PDFs, or compress it using the PDF tools on Pixuna. All of them run in your browser.