ExcelRenderer.Tool
1.11.2
dotnet tool install --global ExcelRenderer.Tool --version 1.11.2
dotnet new tool-manifest
dotnet tool install --local ExcelRenderer.Tool --version 1.11.2
#tool dotnet:?package=ExcelRenderer.Tool&version=1.11.2
nuke :add-package ExcelRenderer.Tool --version 1.11.2
ExcelRenderer.Tool
Convert Excel (.xlsx) workbooks to PDF, PostScript, PNG or SVG from the command line. Populate Excel templates with JSON data to generate XLSX reports or render them directly to documents and images.
Install
Install the .NET 10 SDK, then run:
dotnet tool install --global ExcelRenderer.Tool
excelrenderer --help
Update an existing installation with:
dotnet tool update --global ExcelRenderer.Tool
The tool includes rendering, template mapping, bundled Japanese and emoji fonts, and SkiaSharp Linux native assets. No separate ExcelRenderer NuGet packages are needed. On Debian/Ubuntu, install libfontconfig1 if it is not already available.
Convert a workbook
excelrenderer pdf input.xlsx -o output.pdf
excelrenderer ps input.xlsx -o output.ps
excelrenderer image input.xlsx -o ./png-output
excelrenderer svg input.xlsx -o ./svg-output
PDF and PostScript produce one document. PNG and SVG produce one image per worksheet page. Workbook print settings control page size, orientation, margins and scaling.
Select worksheets or supply a font file:
excelrenderer pdf input.xlsx -o output.pdf --sheet Sheet1 Sheet3
excelrenderer pdf input.xlsx -o output.pdf --font-file ./NotoSansJP-Regular.ttf
Generate a report from JSON
Enter **Customer in cell B2 of a workbook and save it as template.xlsx. Create data.json:
{ "Customer": "Alice" }
Generate a workbook, or map and render it in one command:
excelrenderer xlsx template.xlsx --data data.json -o report.xlsx
excelrenderer pdf template.xlsx --data data.json -o report.pdf
The generated workbook contains Alice in B2. Property names are case-sensitive; keep the input and output paths different.
Command reference
| Command | Output |
|---|---|
xlsx |
XLSX populated from a template and JSON data |
pdf |
PDF document |
ps |
PostScript document |
image |
PNG images, one per page |
svg |
SVG images, one per page |
render |
Selectable format with additional layout and diagnostic options |
core |
PDF using the Core renderer and saved cell values |
Use command help for available options:
excelrenderer pdf --help
excelrenderer render --help
excelrenderer xlsx --help
Saved formula results are used by default. Rendering may differ from Microsoft Excel; see the guides for supported features and limitations.
Guides and examples
- Full CLI reference and examples
- Template mapping guide
- Runnable invoice sample
- Diagnostics and output delivery
- Compatibility and rendering notes
- 日本語の使い方
License
ExcelRenderer is MIT licensed. Bundled fonts have separate licenses; see third-party notices.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.11.2 | 97 | 11/16/2026 |
| 1.11.1 | 103 | 11/15/2026 |
| 1.11.0 | 106 | 11/14/2026 |
| 1.10.5 | 97 | 11/11/2026 |
| 1.10.4 | 122 | 10/22/2026 |
| 1.10.3 | 107 | 10/21/2026 |
| 1.10.2 | 111 | 10/20/2026 |
| 1.10.1 | 111 | 10/19/2026 |
| 1.10.0 | 116 | 10/18/2026 |
| 1.9.2 | 117 | 10/17/2026 |
| 1.9.1 | 119 | 10/17/2026 |
| 1.9.0 | 105 | 10/16/2026 |
| 1.8.0 | 106 | 10/9/2026 |
| 1.7.2 | 117 | 10/7/2026 |
| 1.7.1 | 113 | 10/7/2026 |
| 1.7.0 | 114 | 10/7/2026 |
| 1.6.10 | 112 | 10/5/2026 |
| 1.6.9 | 114 | 10/4/2026 |
| 1.6.8 | 124 | 10/4/2026 |
| 1.6.7 | 117 | 10/3/2026 |