Skip to content

Documentation

Defuddle for .NET gets the main content of a web page as clean HTML or Markdown, with the page’s metadata. It is an unofficial community port of defuddle by Steph Ango (@kepano). It ports upstream 0.19.13.

Terminal window
dotnet add package Defuddle
using Defuddle;
var html = File.ReadAllText("page.html");
var result = DefuddleParser.ParseHtml(
html,
new DefuddleOptions { Url = "https://example.com/article", Markdown = true }
);
Console.WriteLine(result.Title);
Console.WriteLine(result.Content);

MIT · Copyright 2025 Steph Ango (@kepano) · unofficial community port of defuddle