| name | defuddle |
| description | Use this skill when the user wants to extract the main content from a web page or HTML file and convert it to clean Markdown or structured JSON with metadata. |
defuddle Plugin
Extract the main content of any web page as clean Markdown. CLI tool for parsing URLs and HTML files with structured metadata extraction.
Commands
Web Content Extraction
defuddle web parse — Parse a URL or HTML file and extract the main content
Utility
defuddle self version — Print defuddle version
defuddle _ _ — Passthrough to defuddle CLI
Usage Examples
- "Extract the article content from this URL"
- "Convert this HTML file to Markdown"
- "Get the title and author from a web page"
- "Save the extracted content to a file"
Installation
npm install -g defuddle
Or use without installing:
npx defuddle parse https://example.com
Examples
defuddle web parse https://example.com/article --markdown
defuddle web parse page.html
defuddle web parse https://example.com --json
defuddle web parse https://example.com --property title
defuddle web parse https://example.com -p author
defuddle web parse https://example.com --output article.md --markdown
defuddle web parse https://example.com --debug
defuddle web parse https://example.com --lang fr
defuddle web parse https://example.com -m -o result.md
Key Features
- Main content extraction — Removes ads, navigation, sidebars, and extracts only the article/content
- Markdown output — Converts HTML content to clean Markdown with
--markdown
- JSON metadata — Returns structured JSON with title, author, content, etc. via
--json
- Property extraction — Extract specific fields like
title, author, content
- Local file support — Parse local HTML files as well as URLs
- Debug mode —
--debug for troubleshooting extraction issues
- Language support —
--lang to specify content language code
- File output —
--output to save results directly to a file
- HTML standardization — Normalizes headings, code blocks, footnotes, math, callouts
Notes
- Works with any web page URL or local
.html file
- Use
--markdown for clean Markdown output suitable for note-taking apps
- Use
--json when you need structured data with metadata
- Use
--property to extract only a specific field (e.g. title, author, content)
- Debug mode shows detailed extraction information for troubleshooting
- The tool intelligently filters out non-content elements like ads, nav bars, and footers