IT Market
Tools/Code/Documents/HTML to PDF Online — Save Text as PDF
HTML → PDF

Конвертируйте HTML в PDF

Tool guide

HTML to PDF Online — Save Text as PDF

Sometimes you do not need a faithful layout, just a plain PDF: an attachment for a form, an article body for proofreading, a task description filed away. Paste your markup into HTML Input and press the build button — jsPDF lays the text out line by line and the browser downloads html.pdf. Text is the operative word: tags are discarded and styling, tables and images do not make it into the file. Processing stays on your tab. See also: make a PDF from a plain text file, print a Markdown document to PDF, break the finished PDF into images.

How to use it

  1. Paste your markup into HTML Input; the placeholder shows the expected shape of the input.
  2. Keep only the content that should become text — scripts and styles never reach the file anyway.
  3. Press the build button, the only control on the page; there are no options to set.
  4. The browser saves html.pdf to your downloads folder straight away; the filename is fixed, so rename it if needed.
  5. Open the file and check the wrapping — long lines are split to the page width automatically.

FAQ

Does the PDF keep the styling — fonts, colours, tables?

No. The tool extracts the text from your markup and prints it in one font at one size. Headings, bold, colours, table borders and images do not appear. If you need a PDF that looks like the rendered page, use the browser's own print dialog and Save as PDF, which honours the CSS.

Why does non-Latin text come out as garbled characters?

The fonts built into jsPDF cover Latin only and contain no Cyrillic or other non-Latin glyphs, so that text renders unreadably. For a document in Russian or another non-Latin script, printing to PDF from the browser is the reliable route — it uses a system font with the glyphs you need.

Can I upload an HTML file instead of pasting code?

There is no file picker on the page; pasting text is the only input. Open the file in an editor, copy its contents and drop them into HTML Input. View-source output from a live page works too, keeping in mind that only the text ever reaches the PDF.

What is the file called and can I choose the name?

It always saves as html.pdf and there is no name field. Rename it in your downloads folder afterwards. If you build several documents in a row, the browser appends numbers so an earlier file is not overwritten.

How much text can one document hold?

Nothing is capped in the code, but the whole text is laid out in one pass: very long input becomes a multi-page document and takes a few seconds to assemble. For large volumes it is more comfortable to split the text and build several files.

Is my markup sent to a PDF service?

It is not. jsPDF loads from a CDN and then runs in your browser; the document is assembled in the tab and saved straight to disk. The field contents are never transmitted, though you do need a connection the first time so the library can load.

Examples

Filing a task description away
Before: ReportSprint 14 closed. 12 issues done.
After: html.pdf holding two lines of plain text, with no heading styling applied