MiniPdf.Cli 0.43.2

dotnet tool install --global MiniPdf.Cli --version 0.43.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MiniPdf.Cli --version 0.43.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MiniPdf.Cli&version=0.43.2
                    
nuke :add-package MiniPdf.Cli --version 0.43.2
                    

NuGet NuGet Downloads GitHub stars License

A command-line tool to convert Excel (.xlsx), Word (.docx), and PowerPoint (.pptx) files to PDF. Powered by MiniPdf — zero-dependency, pure .NET.

Install

dotnet tool install --global MiniPdf.Cli

Usage

# Convert Excel to PDF (output: data.pdf)
minipdf data.xlsx

# Convert Word to PDF
minipdf report.docx

# Convert PowerPoint to PDF
minipdf slides.pptx

# Specify output path
minipdf report.docx -o /path/to/output.pdf

# Register custom fonts (for containers / Blazor WASM)
minipdf report.docx --fonts ./Fonts

# Compress PDF content streams for large outputs
minipdf data.xlsx --compress

# Render a bounded Excel preview
minipdf data.xlsx --max-rows 200 --max-columns 20 --compress

Commands

Command Description
minipdf <file> Convert .xlsx / .docx / .pptx to PDF
minipdf convert <file> -o <out> Convert with explicit output path
minipdf convert <file> --compress Compress PDF content streams
minipdf data.xlsx --max-rows <n> --max-columns <n> Render a bounded Excel preview
minipdf --version Show version
minipdf --help Show help

Features

  • No COM, no Office installation, no LibreOffice — runs anywhere .NET runs
  • Single command, zero config
  • Custom font registration for headless / container environments
  • Optional PDF stream compression and Excel preview limits for large workbooks
  • Apache 2.0 licensed — free for commercial use
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.43.2 46 10/24/2026
0.43.1 48 10/23/2026
0.43.0 141 9/19/2026
0.42.0 124 9/7/2026
0.41.1 116 9/4/2026
0.40.0 119 8/27/2026
0.39.0 125 8/23/2026
0.38.5 140 8/17/2026
0.38.4 129 8/14/2026
0.37.2 148 7/15/2026
0.36.2 133 7/8/2026
0.36.1 126 7/8/2026
0.35.2 141 7/6/2026
0.35.1 146 7/2/2026
0.34.1 144 6/27/2026
0.34.0 138 6/27/2026
0.33.0 139 6/27/2026
0.32.0 163 6/23/2026
0.31.0 146 6/5/2026
0.30.0 143 6/4/2026
Loading failed