You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET libraries and tools for creating, converting, and rendering documents — Word, Excel, Markdown, and diagrams — alongside supporting libraries for geospatial maps and icons. Several build directly on DocumentFormat.OpenXml, and many compose with each other to form a small document-tooling ecosystem.
The name
Papyrine — PAP-ih-rin (/ˈpæpɪrɪn/): "PAP" as in pap, a short i, and "-rin" rhyming with bin.
From Latin papyrus (paper / papyrus plant) + the suffix -ine (meaning "of, relating to, or resembling"). Fittingly, Papyrine is a family of libraries for creating and transforming documents: the modern descendants of the papyrus scroll.
Data-driven Excel (.xlsx) generation and reading from .NET models, with attribute- and fluent-based column configuration, styling, formulas, HTML cells, and round-trip deserialization. Also ships a Word table generator.
Word (.docx) generation from a .NET model plus a Liquid-driven docx or Markdown template — token substitution, loops, conditionals, and HTML/Markdown/table content blocks.
Renders Word .docx documents or HTML to PNG images. No Microsoft Word dependency; cross-platform, with SkiaSharp and fully-managed ImageSharp backends.
Converts HTML into native OpenXml elements for embedding in .xlsx and .docx files — rich text, tables, lists, images, and CSS-to-Word style mapping, with no altChunk.
Converts documents between formats via Pandoc — wraps pandoc.exe with CliWrap and exposes strongly-typed options per format, for text, stream, and file conversions.
Converts maps between geospatial vector formats — GeoJSON, TopoJSON, Shapefile, FlatGeobuf, KML/KMZ, GPX, WKT/WKB, CSV, and GeoParquet — plus PNG export. No third-party dependencies; ships as a library and a geoconvert command-line tool.
Bundled, offline map data for .NET — borders, cities, waterways, and base layers shipped as FlatGeobuf inside per-region NuGet packages. Data from OpenStreetMap and Natural Earth; layers are returned as GeoConvert feature collections.
Forward-only writer for .docx/.xlsx/.pptx that streams directly to non-seekable targets (HTTP responses, cloud uploads) without buffering the whole package in memory.
Strongly-typed Iconify icons for .NET. A source generator bundles only the icons you reference — baked into the assembly (Resource mode) or written to build output as .svg files (Disk mode) — with Blazor helpers included.
A pair of .NET global tools — diffword and diffexcel — that compare two Word documents or Excel workbooks side by side using Microsoft Office's built-in comparison features. Windows-only; requires the relevant Office app installed.
How they fit together
Excelsior uses OpenXmlHtml to render HTML cell content.
Parchment uses OpenXmlHtml for HTML chunks and Excelsior for embedded Word tables.
Morph uses OpenXmlHtml when rasterizing HTML content.
MapBundle builds on GeoConvert, returning its bundled layers as GeoConvert feature collections.
The result is a layered stack: low-level plumbing and shared assets at the bottom (OpenXmlHtml, OpenXmlStreaming, IconifyBundle), document generators in the middle (Excelsior, Parchment), and conversion/rendering on top (Morph, Naiad, PandocNet). The geospatial pair (GeoConvert → MapBundle) and the diff tooling (MsOfficeDiff) stand alongside as self-contained sub-families.