bentopdf.sh

The PDF toolkit
for your terminal.

Convert, merge, split, edit, sign — 100+ operations powered by BentoPDF's WASM engines. No browser, no cloud, no native installs.

Built on BentoPDF by @alam00000 — they built the WASM engines, we built the CLI.
$ npx bentopdf-sh to-pdf report.docx
$ npm install -g bentopdf-sh
$ bentopdf to-pdf report.docx
$ npx skills add lokkju/bentopdf-sh -a claude-code
  # then just ask Claude to convert your files
Get Started GitHub

Features

Everything you need, nothing you don't.

The same WASM engines that power BentoPDF in the browser, now driven from your terminal.

Private by default

Runs entirely in-process using WASM. Nothing leaves your machine — no uploads, no cloud calls, no telemetry.

WASM-powered

Same engines as BentoPDF: LibreOffice WASM, MuPDF, and pandoc-wasm — battle-tested in production, now on the CLI.

15+ formats, multiple outputs

Convert to PDF, DOCX, or PPTX. Apply reference templates for branded output. Supports Office, Markdown, HTML, images, and more.

AI-native

First-class Claude Code skill. One command to install — then just ask Claude to convert your files.

Formats

One command, any format.

bentopdf automatically picks the right WASM engine based on your input file extension.

Office Documents

DOCXDOC PPTXPPT XLSXXLS ODTODS ODPRTF

Web & Documents

PDFMarkdownHTMLHTM

Images

PNGJPEGSVG TIFFWebP

Quick Start

Up in three steps.

No daemon, no config file required — just install and convert.

1

Install

Install globally via npm. Requires Node.js 20+. WASM engines are downloaded on first use and cached in ~/.cache/bentopdf/.

$ npm install -g bentopdf-sh
2

Convert

Pass one or more files. bentopdf picks the right engine automatically. Output defaults to the same directory as input.

$ bentopdf to-pdf report.docx slides.pptx
3

Add to Claude Code

Install the Claude Code skill. Then just ask Claude to convert your files — it uses bentopdf under the hood.

$ npx skills add lokkju/bentopdf-sh -a claude-code