The golden standard for vector PDF document rendering in .NET. Built for high performance, zero-loss RAG indexing, out-of-the-box design systems, and universal ingestion without headless browser binaries.
Why .NET developers are moving away from heavy Chromium binaries and legacy 10-year-old libraries.
Stream-level multi-PDF concatenation with lossless RAG AST fusion, 1-indexed page range slicing, arbitrary page reordering, background letterheads, Bates indexing, and dynamic watermarks.
ISO 32000-1 AES-256 encryption, granular permissions, PKCS#12 digital signatures with TSA timestamping, visible signature appearance seals, and PDF/A-1b/2b/3b archival.
Contextual parent header repeating across page breaks, automatic (continued) label injection, and trailing conclusion blocks anchored to render once at the narrative end.
Render raw LLM outputs (GPT-4o, Claude, Gemini) directly into structured PDF AST without HTML wrappers or headless browser overhead.
Direct HTML tag parser (h1-h6, b, i, a, p, table, ul, li) and Minimal API PdfResult without Chrome or headless browser binaries.
Eliminates 1.05-page spills that bleed 2 lines onto a blank second page. Micro-adjusts spacing & font scales by 5–12% to fit cleanly on 1 page.
Embeds structured JSON AST directly in the PDF metadata stream. Downstream AI agents extract 100% accurate data without OCR errors.
Bar, Line, Area, Pie, Donut charts, Code128 / EAN-13 barcodes, QR codes, KPI sparklines, stat card rows, and multi-column flow natively rendered.
Stop spending 30+ hours writing custom formatting code. Bundles pre-styled themes (SaaS Analytics, Executive Minimal, Glassmorphic Dark).
No headless browser to configure, no HTML templating layer to maintain — just the fluent .NET API.
Add the zero-dependency NuGet package to any .NET project — no Chrome, no Node, no native binaries to bundle.
dotnet add package ShreePdf
Feed it raw LLM Markdown, build documents with the C# fluent DSL, or bind a JSON payload straight from your API.
Document.FromMarkdown(text, theme)
Get a themed, auto-fit PDF with embedded RAG metadata back as bytes — vector-rendered via SkiaSharp in ~15ms.
doc.GenerateBytes();
Zero-dependency HTML tag parsing (h1–h6, p, table, ul, li, inline CSS) and Minimal API PdfResult without headless browser runtimes.
Rigorous test coverage across layout math, vector chart geometry, barcode encoding, merged table cells, PDF slicing, encryption, and signatures.
Stream merging, RAG AST fusion, discrete slicing, page range extraction, Bates numbering, and letterhead stamping.
AES-256 payload encryption, permissions, PII redaction, PKCS#12 signing, TSA timestamping, and PDF/A-3b XML embedding.
Page sizes (A4–B5), margins, themes, text elements, font scaling, fluent builder state.
Bar, Line, Area, Pie, Donut charts, category axes, legend bands, zero-data safety.
Line/Bar sparklines, progress bar fraction clamping, zero-max safety, label bands.
Code128 set B encoding, EAN-13 GTIN Modulo-10 check digits, QR matrix vector squares.
Variable row heights, ColumnSpan / RowSpan grid placement, in-cell images, header repetition.
Newspaper column width calculation, line wrapping balance across 1, 2, or 3 columns.
Reader-sidebar bookmark outline, auto TOC entry generation, clickable links.
Page budgeting, anti-orphan squeeze algorithm, height measurement invariants.
Markdown h1–h6, HTML tag parsing, inline CSS styles, template token resolver.
Online activation, offline license caching, and telemetry validation.
JSON AST serialization, XMP metadata stream injection, round-trip extraction.
Generation matrix across all themes × sizes × TFMs (net8.0 + net10.0 dual target).
Vector charts, barcodes, QR codes, KPI stat cards, progress meters, and multi-column flow rendered natively.
Simulate real-time multi-source document ingestion, theme switching, auto-fit budgeting, and RAG AST JSON extraction.
Document.FromMarkdown(llmText, ThemePresets.GlassmorphicDark).EnableAutoFit(true);
"Loss-free RAG indexing enabled. High-speed vector rendering via SkiaSharp."
| Core Innovation | Benchmark | Status |
|---|---|---|
| Anti-Orphan Auto-Fit | 1.05 Spill -> 1 Page | ACTIVE |
| AI / RAG Dual Stream | Loss-Free Embedded AST | ENABLED |
| Native SkiaSharp Engine | 15ms / 15MB Footprint | OPTIMAL |
See how ShreePdf outperforms traditional PDF libraries and heavy browser wrappers across critical enterprise requirements.
| Feature / Capability | ShreePdf ⚡ | Chromium-Based Tools | Code-Only Libraries | Legacy Enterprise Suites |
|---|---|---|---|---|
| Render Speed (Avg) | 15 ms (50x Faster) | 1,200 ms | 25 ms | 800 ms |
| Memory Footprint | 15 MB | 180 MB (Chrome) | 20 MB | 90 MB |
| Docker & Cloud Serverless | ✅ Instant Zero-Dep | 🛑 Heavy (libgbm error) | ✅ Native | ⚠️ High RAM |
| Native Vector Charts (Bar/Line/Pie) | ✅ Built-in Vector Engine | 🛑 JS Plugin Required | ❌ None | ⚠️ Complex Setup |
| Barcodes & 2D QR Code Generation | ✅ Native Code128, EAN-13 & QR | ⚠️ Extra Plugin Required | ❌ External DLL Needed | ⚠️ Module Add-on |
| Multi-Column Publishing Layout | ✅ Balanced Newspaper Flow | ❌ Hard CSS Flow | ⚠️ Manual Calculation | ❌ Complex Manual Grid |
| Universal LLM Markdown Ingestion | ✅ Built-in AST Engine | ❌ DIY HTML Wrapper | ❌ Code-Only | ❌ Code-Only |
| Smart Anti-Orphan Auto-Fit | ✅ Auto Micro-Scaling | ❌ Hard Cuts / Spills | ❌ Hard Cuts / Spills | ❌ Hard Cuts / Spills |
| AI / RAG Dual-Stream Metadata | ✅ Embedded AST Metadata | ❌ None | ❌ None | ❌ None |
| Reader Bookmarks & Auto TOC | ✅ Automatic Outline Tree & TOC | ⚠️ Manual HTML Anchors | ⚠️ Manual Page Logic | ⚠️ Complex API Setup |
| Out-of-the-Box Theme Systems | ✅ Curated Palette Presets | ❌ Custom CSS Needed | ❌ Code Styling Needed | ❌ Custom Formatting |
Track version milestones published on NuGet.
In-memory PDF merging, splitting, extraction, page reordering, and vector header/footer/letterhead stamping.
ISO-compliant long-term archival document generation and European electronic invoice XML stream embedding.
Cryptographic document authenticity seals, certificate signing, and RFC 3161 timestamping verification.
Enterprise-grade AES-256 encryption, cryptographic digital signatures, and PDF/A archival compliance.
Intelligent multi-page data continuation, contextual table repeating headers, and block anchoring.
Custom font embedding, full Unicode and CJK language support, and RTL bidirectional typesetting.
Native vector charting, 1D/2D barcodes, executive KPI sparklines, and multi-column publishing.
Interactive reader navigation, bookmark hierarchies, and auto-generated tables of contents.
Advanced per-cell table styling, content-aware column auto-sizing, and direct streaming output.
Orientation switching, dynamic watermarking, repeating table headers, and async generation.
ASP.NET Core Razor ingestion, Minimal API integration, and AI/RAG metadata embedding.
High-speed vector graphics engine, anti-orphan auto-fit layout solver, and fluent DSL.
High-performance developer tools, document engines, and AI ingestion frameworks built for modern .NET.
Cross-platform desktop vector PDF reader, cryptographic digital signature inspector, side-by-side visual diff comparison, and PDFium-powered canvas.
Fast, 100% offline text and metadata extraction engine for .NET. Point at a folder and extract clean tables for RAG ingestion, search indexing, and LLM data prep.
Local-first AI file classifier and intelligent sorting assistant that organizes messy directories by content semantics with zero cloud leakage.
Computer-vision driven plant health intelligence, edge crop diagnostic scanner, and automated agricultural imaging analytics.
Everything developers ask before adding ShreePdf to a .NET project.
Yes. The public showcase and playground in this repository are open source under the Mozilla Public License 2.0. See the LICENSE file for full terms.
No. ShreePdf renders vector PDFs natively via SkiaSharp, with zero Chrome or Node dependencies — no libgbm errors, no headless browser binaries to bundle in Docker or Lambda.
Yes. Document.FromMarkdown() ingests raw LLM output (GPT-4o, Claude, Gemini, etc.) directly into a structured PDF AST — no manual HTML wrapping required.
ShreePdf ships as a standard NuGet package (dotnet add package ShreePdf) built for modern .NET. Check the NuGet listing for the exact supported target framework versions for each release.
Yes. ShreePdf bundles pre-styled themes (Glassmorphic Dark, SaaS Analytics, Executive Minimal) via ThemePresets, and the fluent DSL lets you override colors, spacing, and typography per document.
Track version milestones in the Changelog section above, or open an issue on the public showcase repo.
Zero-dependency, 15ms vector rendering, built for .NET developers working with LLMs.