Конвертируйте HTML в PDF
Tool guide
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.
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.
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.
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.
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.
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.
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.
Before: ReportSprint 14 closed. 12 issues done.
After: html.pdf holding two lines of plain text, with no heading styling applied
Your rating and feedback help decide what to improve next.