html-to-pdf

Convert HTML documents to PDF files using Chrome's print-to-PDF on macOS.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/kazumasakawahara/nest-support --skill html-to-pdf-kazumasakawahara
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: html-to-pdf
Source: https://github.com/kazumasakawahara/nest-support/tree/main/claude-skills/html-to-pdf
Command: npx skills add https://github.com/kazumasakawahara/nest-support --skill html-to-pdf-kazumasakawahara

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates converting HTML documents into PDF files using Chrome's printing capabilities, reducing manual steps and ensuring consistent formatting.

Core Features & Use Cases

  • Chrome-based HTML-to-PDF conversion using print-to-PDF
  • macOS automation compatibility (AppleScript / System Events)
  • Use Case: Save web content or local HTML pages as PDF for archiving or sharing.

Quick Start

Open the HTML file in Chrome and export it as a PDF using the print-to-PDF option on macOS.

Frequently Asked Questions about html-to-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate HTML to PDF conversion on macOS?▼

Automating HTML to PDF conversion on macOS is achieved by leveraging Chrome's print-to-PDF functionality through AppleScript or system events. This allows you to perform one-shot conversions without manual intervention.

Can I use Chrome's print-to-PDF feature to save local HTML files as PDFs without manual steps?▼

Yes, you can use Chrome's print-to-PDF feature to save local HTML files as PDFs without manual steps. The automation uses macOS system events to trigger Chrome's printing capabilities directly.

Do I need Chrome installed on my Mac to automate HTML to PDF conversion?▼

Yes, you need Chrome installed on your Mac to automate HTML to PDF conversion. The process specifically relies on Chrome's print-to-PDF capabilities and macOS automation scripts like AppleScript.

What is the best way to convert HTML documentation into PDF for archiving on a Mac?▼

The best way to convert HTML documentation into PDF for archiving on a Mac is using Chrome-based print-to-PDF automation. It ensures consistent formatting while reducing manual steps for reporting and archiving.

Why does my automated HTML to PDF conversion require macOS system events?▼

Automated HTML to PDF conversion requires macOS system events to control the user interface and trigger Chrome's print-to-PDF function programmatically. This approach enables a one-shot conversion without manual clicking.