Free · Open source · No upload
Get any file to the exact size you need.
Compress, convert and sign PDFs and photos in your browser. Your files are never uploaded.
Popular tools
Popular tools
All tools
Optimize
Organize
Convert to PDF
Convert from PDF
Edit
Security
Smart
Workflows
How it works
Choose a file
Select or drop a PDF or photo into the workspace.
Set your target
Pick an exact size limit or strength goal.
Download
Get your file instantly without leaving your browser.
Questions
Are my files sent to any server?
Is Weesize really completely free?
How does exact-size compression work?
Does it work offline?
HTML to PDF
Get any file to the size you need. Privately.
1 Open this page and add the file. HTML to PDF starts in the browser you already have open.2 Run the tool. If this version cannot do the job honestly, it says so instead of inventing a result.3 Download the file that was built on this device. Closing the tab drops the bytes.
About this tool
HTML to PDF accepts markup you paste or a file you choose. It does not fetch a URL. Fetching would send a request and could pull a page you did not mean to hand to a converter. Scripts are not run, and remote images are not loaded. If the page depends on a stylesheet on the network, it will look plainer here than in a browser, on purpose.
HTML to PDF stays on this device. The download is the copy you keep, and Weesize does not store a second one. Close the tab when you are finished and the bytes are gone.
- No upload: no web address is fetched, so the only HTML involved is what you pasted or opened.
- Speed: the file does not travel to a server and back, so the wait is only the work itself.
- Quality: the original is kept when the new file would be worse or is not actually smaller.
FAQ
Does “HTML to PDF” upload my file?
HTML to PDF reads the file in this tab. There is no upload step and no account.
What will “HTML to PDF” actually change?
Local text is written into a PDF. Remote images and scripts are not downloaded or executed.
When is “HTML to PDF” the wrong job?
Do not paste a page that only makes sense after JavaScript runs. You will get the raw text, not the app screen.
How do I check the result of “HTML to PDF”?
If a figure is missing from the PDF, it lived on another server and was correctly left out.
Can I run “HTML to PDF” with Wi-Fi off?
Load this page, then turn Wi-Fi off and run HTML to PDF again. A finished result is the proof that the file was not sent anywhere.
Word to PDFPDF to MarkdownJPG to PDFCompress PDFMerge PDFEdit PDF
HTML to PDF without fetching the webWord to PDF: what changesWhat a browser PDF tool can and cannot do
Last updated 2026-09-27.