unpdf.tool
0.1.1
dotnet tool install --global unpdf.tool --version 0.1.1
dotnet new tool-manifest
dotnet tool install --local unpdf.tool --version 0.1.1
#tool dotnet:?package=unpdf.tool&version=0.1.1
nuke :add-package unpdf.tool --version 0.1.1
unpdf.tool
unpdf.tool is a cross-platform .NET command-line tool that converts PDF files
to self-contained HTML output directories. The installed command is unpdf.
Install
dotnet tool install --global unpdf.tool
Update an existing installation with:
dotnet tool update --global unpdf.tool
Convert a PDF
unpdf input.pdf --output output-directory
The output directory contains index.html, CSS, fonts, and extracted image
assets. It must be empty unless --force is supplied.
Useful commands:
unpdf --help
unpdf --version
unpdf input.pdf --output output-directory --text-mode semantic
unpdf input.pdf --output output-directory --page-mode continuous --force
The tool includes its SkiaSharp and ImageMagick rendering dependencies and the native assets for supported platforms. It requires a compatible .NET runtime.
PDF-to-HTML conversion is necessarily approximate. Unsupported or degraded operations are reported as diagnostics, and semantic output may not reproduce arbitrary PDF painting exactly.
Source, issues, and other installation options are available at github.com/erikbra/unpdf.
| 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.