Skip to content
Skills Library
Documents & office · Conversion & formats

html2pptx

/html2pptx

Convert local HTML/WebDeck slide presentations into editable PowerPoint PPTX files. Use when the user provides an .html/.htm deck and wants editable text, shapes, SVG, and ECharts content instead of a screenshot-only export.

Repository
html2pptx ↗
Licence
MIT
Last repository change
08.06.2026

Assessment and security

96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content31 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Convert local HTML/WebDeck slide presentations into editable PowerPoint PPTX files. Use when the user provides an .html/.htm deck and wants editable text, shapes, SVG, and ECharts content instead of a screenshot-only export.

Original author description

Convert local HTML/WebDeck slide presentations into editable PowerPoint PPTX files. Use when the user provides an .html/.htm deck and wants editable text, shapes, SVG, and ECharts content instead of a screenshot-only export.

How it works

SKILL.md has no level-two headings · 61 lines, 240 words

SKILL.md preview
---
name: html2pptx
description: Convert local HTML/WebDeck slide presentations into editable PowerPoint PPTX files. Use when the user provides an .html/.htm deck and wants editable text, shapes, SVG, and ECharts content instead of a screenshot-only export.
---

# html2pptx

This is the Claude Code / opencode project-skill entry point for this repository.

The implementation lives in the shared skill folder:

- `skills/html2pptx/SKILL.md`
- `skills/html2pptx/scripts/html2pptx.py`
- `skills/html2pptx/scripts/html_dom_to_editable_svg.js`
- `skills/html2pptx/scripts/svg_to_pptx/`

Run the converter from the repository root:

```bash
python skills/html2pptx/scripts/html2pptx.py input.html -o output.pptx
```

If Chrome or Chromium is not auto-detected:

```bash
python skills/html2pptx/scripts/html2pptx.py input.html -o output.pptx \
  --chrome "/path/to/Google Chrome or Chromium"
```

`--chrome-path` is also accepted as an alias. On Windows:

```bash
python skills/html2pptx/scripts/html2pptx.py examples/basic-deck.html -o basic-deck.pptx \
  --chrome-path "C:/Program Files/Google/Chrome/Application/chrome.exe"
```

For debugging bad pages:

```bash
python skills/html2pptx/scripts/html2pptx.py input.html -o output.pptx \
  --workdir /tmp/html2pptx-debug --keep-workdir
```

Inspect `svg_output/NN_slide.svg`.

Good fit:

- Fixed 16:9 HTML/WebDeck slides.
- Plain single-page HTML that should be auto-wrapped into one 1280x720 slide.
- DOM text, CSS boxes, lines, SVG diagrams, and ECharts charts that should remain editable.
- Decks where PowerPoint editability matters more than screenshot-perfect rendering.

Current converter strengths:

- ECharts instances are forced or rebuilt with SVG renderer where possible.
- Uniform rounded CSS borders are preserved as editable stroked rounded rectangles.
- Inline SVG children inside text nodes are extracted instead of being swallowed by text conversion.
- Common Font Awesome Free solid `<i class="fa-...">` icons are inlined as SVG paths before extraction.

Known limits:

- Long webpages are clipped to the slide viewport.
- Full HTML documents nested inside a slide may need preprocessing.
- CSS pseudo-elements, filters, shadows, complex masks, and external icon fonts may degrade.

Versions

RepositoryScoreLicence
This page · GX-Alex/html2pptx96MIT
GX-Alex/html2pptx100MIT

Database snapshot: 13.11.2026 · package version e3f257860882 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ppt-reconstruction
    Reconstruct reference slide images into high-fidelity, editable PowerPoint presentations. Use when a user wants to convert slide screenshots or images into PPTX with native text, shapes, connectors, tables, charts, and reviewed SVG icon suggestions.
  • 100html-to-pptx
    Convert an HTML slide deck (one `.slide` div per slide, 1280x720) into a NATIVE, fully editable PowerPoint — real rectangles, rounded boxes, pills, circles, lines, arrows, freeform shapes, bullets, curved text and text boxes, NOT slide images. Use whenever the user says "make a…
  • 100deck2pptx
    Convert an HTML slide deck into an editable PowerPoint file that keeps the same design, with real text, shapes, tables and embedded fonts rather than pictures of slides. Use when the user wants to share, hand off or collaborate on HTML slides in PowerPoint, asks for a .pptx of a…
  • 100powerpoint
    Create designed, editable PowerPoint .pptx presentations with PptxGenJS. Use when the user asks to create, generate, update, or inspect a deck, slide deck, presentation, or .pptx file.
  • 100image-to-editable-ppt
    Rebuild slide images, screenshots, scanned/image-based PPT or PPTX files, and PDF decks into object-level editable PowerPoint (.pptx) — real text boxes, native shapes, native tables, and icons/illustrations re-traced as SVG — preserving page order and speaker notes. Runs fully…
  • 100powerpoint
    Create professional PowerPoint presentations. Use when asked to "create a PowerPoint", "make a presentation", "build slides", or generate pptx files.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.