๐ผ HTML โ JPG ยท PNG ยท PDF Exporter
Upload any HTML file. The app auto-detects its exact pixel size from the rendered layout and exports three pixel-perfect files โ nothing cropped or discarded.
Upload an HTML file and click Convert.
โฌ Download exports
โน๏ธ How it works
| Step | What happens |
|---|---|
| 1. Inline images | Every src="https://..." in the HTML is downloaded and replaced with a base64 data URI โ no CDN calls during render |
| 2. Detect size | Chromium loads the modified HTML in an 8192 ร 8192 viewport; the computed CSS size of the top-level element is read via JS |
| 3. Screenshot | Viewport is resized to exactly that size and a lossless PNG is captured |
| 4. JPG | Converted from PNG at quality 95, no chroma subsampling |
| 5. PDF | PNG pixels embedded into a PDF page; DPI sets declared print size only |
Works with: inline CSS/JS, CDN fonts/icons, SVG, web fonts, gradients.