Skip to content

rendlio convert

Convert a workbook to PDF, PDF/A-2b or PNG.

rendlio convert <input> -o <PATH> [options]
ArgumentValueRequiredMeaning
<input>FILEyesPath to a .xlsx / .xlsm file, or - for stdin (bytes are buffered to a guarded temp file; the resource limits apply).
OptionValueDefaultEnv varMilestoneMeaning
-o, --output requiredPATHM1Output path, or - for stdout (single-document formats only). The extension does not infer the format — --format does.
--formatpdf|pdfa|pngpdfM1pdfa = PDF/A-2b. png = one file per page.
--pagesall|1-5,8allM1Page selection, applied after pagination.
--sheets"Summary,Data"all-with-print-contentM1Sheet filter by name (exact, case-sensitive); an unknown name → exit 3.
--dpi96..600150M1PNG only.
--png-patternPATTERN{stem}-{page}.pngM1{stem}, {page}, {pages} tokens; required when -o - is used with multi-page PNG (then invalid → exit 3).
--cultureBCP-47en-USRENDLIO_CULTUREM1Locale for separators and month names when a number format lacks an explicit [$-LCID].
--fonts-dir repeatablePATHRENDLIO_FONTS_DIRM1Prepends user font directories to font resolution.
--use-system-fontsflagoffM1Adds OS fonts to resolution — off by default for determinism.
--recalculateoff|strict-v1offRENDLIO_RECALCULATEM1off renders cached formula values. strict-v1 is planned (M4); requesting it before it ships → exit 3, “not available in this build”.
--reference-dateISO-DATEtoday (UTC)M1Anchors timePeriod conditional formats; set it for reproducible runs.
--deterministicflagM1Fixed PDF dates (2000-01-01T00:00:00Z), document ID = SHA-256(input bytes ‖ canonical options), stable font-subset tags — identical input + options ⇒ identical bytes.
--timeoutSECONDS300RENDLIO_TIMEOUTM1On hit: partial outputs deleted, exit 4.
--max-memoryMB1024RENDLIO_MAX_MEMORYM1Memory soft cap, applied via checkpoints. On hit: partial outputs deleted, exit 4. The default is under review (FS-10 OPEN-3): the CLI contract prints 1024, while the engine’s canonical limits registry applies unset (no cap) unless one is given — set it explicitly if you rely on it. See resource limits.
--reportPATH|-M1Writes the compatibility report JSON (- = stderr summary only). Automation should always set it; humans usually rely on the stderr summary.
--emit-irPATHM1Canonical intermediate-representation JSON (diagnostic).
--licensePATH|communityRENDLIO_LICENSEM1See licence resolution.
--quietflagM1Reduces stderr verbosity; errors are still printed.
--verboseflagM1Increases stderr verbosity.
--log-jsonflagM1stderr as NDJSON events (for programmatic hosts).

The defaults: ordinary PDF, every sheet with print content, the stderr summary only.

Terminal window
rendlio convert report.xlsx -o report.pdf

PDF/A-2b plus a machine-readable compatibility report — the shape to use in automation.

Terminal window
rendlio convert book.xlsm -o book.pdf --format pdfa --report report.json

Streaming both directions. Only document bytes reach stdout, so the pipe is safe.

Terminal window
cat in.xlsx | rendlio convert - -o - > out.pdf

One PNG per page at 200 dpi, named by the pattern.

Terminal window
rendlio convert big.xlsx -o pages/ --format png --dpi 200 --png-pattern "p{page}.png"

View as Markdown