MiniPdf.Cli
0.29.0
dotnet tool install --global MiniPdf.Cli --version 0.29.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local MiniPdf.Cli --version 0.29.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MiniPdf.Cli&version=0.29.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MiniPdf.Cli --version 0.29.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MiniPdf CLI
A command-line tool to convert Excel (.xlsx) and Word (.docx) 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
# Specify output path
minipdf report.docx -o /path/to/output.pdf
# Register custom fonts (for containers / Blazor WASM)
minipdf report.docx --fonts ./Fonts
Commands
| Command | Description |
|---|---|
minipdf <file> |
Convert .xlsx / .docx to PDF |
minipdf convert <file> -o <out> |
Convert with explicit output path |
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
- Apache 2.0 licensed — free for commercial use
Links
- Library package: MiniPdf on NuGet
- Source code: https://github.com/shps951023/MiniPdf
- License: Apache-2.0
| Product | Versions 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.29.0 | 38 | 4/30/2026 |
| 0.28.0 | 46 | 4/29/2026 |
| 0.27.0 | 54 | 4/28/2026 |
| 0.26.0 | 120 | 4/3/2026 |
| 0.25.0 | 112 | 4/2/2026 |
| 0.24.0 | 109 | 3/29/2026 |
| 0.23.0 | 107 | 3/27/2026 |
| 0.22.0 | 98 | 3/26/2026 |
| 0.21.0 | 94 | 3/24/2026 |
| 0.20.0 | 92 | 3/23/2026 |
| 0.19.0 | 89 | 3/22/2026 |
| 0.18.2 | 95 | 3/19/2026 |
| 0.2.0 | 95 | 3/18/2026 |
| 0.1.0 | 92 | 3/26/2026 |