.N .NET Landscape

Toxy

Legacy Documents, Media & Text
github.com/nissl-lab/toxy

.net text extraction & export framework

⚠ Deprecated or superseded; kept for historical reference. Consider an actively maintained alternative from the same subcategory.

datasetexportextractionfileformats
GitHub stars
464
Forks
113
Open issues
17
NuGet downloads
126,384
latest 2.6.0
License
Apache-2.0
Language
C#
Last push
2 days ago
22 Oct 2026
Created
26 Nov 2013

NuGet netstandard2.0 netstandard2.1 License

What's Toxy

Toxy is a .NET data/text extraction framework similar to Apache Tika in Java. It supports a lot of popular formats such as docx, xlsx, xls, pdf, csv, txt, epub, html and so on.

image

Why Toxy

In the past, we have to use IFilter to extract texts from other documents. But Toxy is platform independent. It will try to support not only Windows but also Linux. Toxy is very easy to use and friendly. You don't need to care much about what extension you are extracting because it is a clever framework to help identify the file formats and extract the data/text into a unified structure.

Toxy Objects

  • ToxyDocument - the data structure extracted for documents
  • ToxySpreadsheet - the data structure extracted for spreadsheets
  • ToxyEmail - the data structure extracted for emails
  • ToxyBusinessCard - the data structure extracted for business cards
  • ToxyDom - the data structure extracted for DOM based document
  • ToxyMetadata - the data structure extracted for other files with meta data

F# Type Provider

Toxy.TypeProvider is an F# Type Provider built on top of Toxy. It inspects a sample document at compile/design time and generates a strongly-typed metadata schema, giving F# users IntelliSense and compile-time safety over document metadata fields such as Author, Title, Created, and more.

#r "nuget: Toxy.TypeProvider"
open Toxy.TypeProvider

type Invoice = ToxyDocument<"samples/invoice.pdf">

let doc = Invoice.Parse("path/to/my.pdf")
printfn "Author: %s" doc.Metadata.Author