🎉 Version 2.0 Released | Export Both Excel & High-Precision PDF at Once!

Excel and PDF Output, All in One.
Ultra-Fast Spreadsheet Engine & Direct PDF Export

osbxl is an Excel & PDF generation library for business systems supporting Java, Python, Node.js, PHP, and WebAssembly.
From creating reports and formulas to generating both Excel (.xlsx) and high-precision PDF files from the same codebase at once.

Why osbxl

Key reasons developers choose osbxl for business systems

📑
v2.0 Highlight

Export Excel & PDF Both at Once

Output both Excel and PDF simultaneously from the exact same workbook. Eliminates the need to maintain duplicate codebases for Excel spreadsheets and PDF documents.

📐
v2.0 Enhanced

Precise Page Setup & PDF Print Control

Full programmatic control over A4/A3 paper sizes, landscape/portrait orientation, margins, print areas, headers/footers, and page breaks. Stream directly from memory for immediate web downloads.

⚡

Overwhelming Speed & Low Memory

The C++ native core calculates hundreds of thousands of cells in milliseconds. Bulk range insertions and fast write modes handle massive enterprise datasets with ease.

🌐

Multi-Platform

Full support for Java, Python, Node.js, PHP, and WebAssembly. Use the identical spreadsheet calculations and PDF export capabilities consistently everywhere.

📊

Nearly 500 Functions & Charts

Comprehensive Excel-compatible financial, statistical, and text functions out of the box. Supports most Excel chart types (bar, line, pie, etc.), tables, and PivotTables.

🤖

AI Code Generation & Zero Hallucination

Official AI Skills included for Cursor, Copilot, Gemini, and Claude. Generates accurate, runnable Excel & PDF manipulation code directly from natural language prompts.

✨ v2.0 Feature

Generate Both Excel & PDF from a Single Codebase at Once. Perfect for Web Servers!

Design layouts and perform calculations once, then export both Excel (.xlsx) and PDF (.pdf) formats simultaneously.
Runs fast and reliably on web server backends.

PDF Export Sample & Guide →

💡 Unified Solution Benefits

  • ✓ No Duplicate Implementation: No need to maintain separate libraries for Excel and PDF reporting.
  • ✓ Perfect Visual Match: Formats, fonts, borders, background colors, paper size, and page breaks are faithfully rendered into PDF.
  • ✓ Direct Web Streaming: With saveAsPdfToBuffer(), stream PDFs directly from memory without writing temporary files to disk.
✓ Available across Java, Python, Node.js, PHP, and WebAssembly
// Universal clean API (Node / Python / PHP / Java / WASM)
let wb = app.createWorkBook("report.xlsx");
let ws = wb.openWorkSheet(0); // 0-based index
// Populate data, formulas, styles ...
ws.getCells(0, 0).setValue("Monthly Sales Report");
// 1. Save as Excel file (.xlsx)
wb.save();
// 2. Export PDF directly to in-memory buffer (ideal for web streaming!)
let pdfBuffer = wb.saveAsPdfToBuffer(false, [], true);
// *Direct output to a PDF file is also supported:
// wb.saveAsPdf("report.pdf", false, [], true);
wb.close();
AI Feature

Never Write Excel Code by Hand Again

Prompt in natural language and receive accurate, verified code instantly

AI Skill Details & Free Download →
💬 Example Prompt
"Create a sales table in Python with columns Item, Price, Quantity, Amount. Calculate Amount with a multiplication formula, and add a Table with a SUM total row."
✓ Ready for Cursor, GitHub Copilot, Claude Code, and more
// Auto-generated osbxl code (Zero hallucinations)
wb = app.createWorkBook("sales.xlsx")
ws = wb.openWorkSheet("Sheet1")
...
table = ws.getListObjects().addList("Sales", "A1:D4", True, True)
table.setCustomRowFunction(4, "SUM(D2:D4)", False)
wb.save(); wb.close()

Supported Platforms

☕
Java
JDK 1.8+ / Linux, Windows, macOS (Apple Silicon)
🐍
Python
Python 3.8+ / Linux, Windows, macOS (Apple Silicon)
🟢
Node.js
Node 18+ / Linux, Windows, macOS (Apple Silicon)
🐘
PHP
PHP 8.2–8.5 (NTS) / Linux, Windows, macOS (Apple Silicon)
🌍
WebAssembly
All major browsers

Get Started Now

Try osbxl with the free demo and see the speed for yourself.
Contact us for adoption consulting.