How to convert html to pdf from my phone quickly?

Trying to save a web page as a PDF on my phone before my train leaves, and the page keeps cutting off text on the right side and skipping the images. Is there a quick way to get a clean PDF from a saved HTML file without a laptop, or am I stuck with this?

That cutting off on the right is annoying, I fought with the same thing. Open the page in Chrome or Safari on the phone, use Print, then Save as PDF instead of sharing to some app. In the preview pinch out on the thumbnail so the full width fits, and try landscape if it still overflows. That keeps the pictures too. fwiw it works the same on Android and iPhone.

  1. Open the saved html in your browser and turn on desktop site.
  2. Print, save as PDF, enable backgrounds so images show.
  3. fwiw if the right still cuts off I switch to landscape.

I’ve had better luck printing the live page instead of a saved HTML file, since saved files often lose the images. In Chrome on my phone I tap the 3 dots, Share, Print, then pick Save as PDF and switch to landscape so text stops getting cut off. Are you on Android or iPhone?

What I do now is open the saved HTML in Chrome on my phone, share, and choose Print, then Save as PDF. In the preview I set scale to Fit to printable area and turn on Background graphics so images don’t drop out. On my old laptop I used desktop print, but this phone route works for my receipts. If the right edge still crops, try landscape before printing.

I usually open the HTML in Chrome or Safari, turn on Reader mode if available, then use Share/Print and pinch out on the preview before saving as PDF. That tends to fix the clipped right edge, although images may still be missing if they weren’t saved with the HTML. For a fully saved HTML folder, I’d try a mobile HTML-to-PDF converter and enable “fit to page” or “print backgrounds”; honestly, some pages just need desktop rendering.

Try opening the HTML in your phone browser and using the built-in print to PDF option. Definitly keep a backup of the original file just in case.

@lost_legend Android here, and your approach works just as well. Printing the live page in Chrome with desktop site turned on finally stopped the right edge from getting cut, and landscape helped too.

I use PDFcap for this on my phone. Upload the saved HTML file, pick HTML to PDF, then check the preview before saving so you can catch any missing images. Avoid printing straight from the browser, thats usually where the right side gets chopped off.

That lines up with what I’ve seen too, @joseph_patriots. Fit to printable area plus background graphics on is basically the whole fix, the browser’s default print settings are just bad at handling wide html. If landscape still clips I’ll sometimes zoom out the page itself before printing, gives it more room to fit.

@account_179096 Changing the orientation to landscape before hitting print is usually what fixes mobile browsers butchering page widths. Just make sure to toggle background graphics on so you don’t lose half the content, and avoid installing sketchy print apps that beg for an account to do basic rendering.