Package  ·  Live API  ·  Regira.Office

Office documents in .NET.
One contract, many libraries.

PDF, Excel, Word, CSV, vCards, Mail, OCR and Barcodes for .NET — uniform interfaces over the libraries you'd otherwise wire up by hand. The same capabilities are also exposed as a hosted HTTP API at services.regira.com — no .NET required.

§ 01Modules

Eight modules. Pick the providers that fit your stack.

Each module exposes a contract (read, write, convert) and ships one or more concrete implementations. The contract covers what most providers share; each provider then adds whatever extras its underlying library exposes.

01

PDF

Read, write, merge, render, convert.

DocNETPlaywrightPDFtoPrinterSimpleFreePdfPrinterPuppeteerSharpSelectPdfSpire
PDF in .NET →
02

Excel

Read & write workbooks with mapping helpers.

ClosedXMLEPPlusMiniExcelNPOI
Excel in .NET →
03

Word

Generate docx from templates.

AsposeGotenbergMiniWordSpireSyncfusion
Word in .NET →
04

CSV

Type-safe records, in and out.

CsvHelper
05

Barcodes

EAN, Code128, QR — read & write.

QRCoderSpireUziGranotZXing
Barcodes in .NET →
06

OCR

Extract text from images or PDFs.

PaddleOCRTesseract
OCR in .NET →
07

Mail

Transactional send with attachments; read MSG and EML.

MailgunMsgReaderSendGrid
Mail in .NET →
08

vCards

Read & write contact cards.

FolkerKinzel
§ 02Featured · Drawing

JSON in, image out. Composable.

Describe what you want — barcodes, QR codes, images, labels, PDF pages — as a tree of items on a target canvas. Wrap a group in an aggregate to rotate, scale or fade it as one. The Drawing service composes everything and hands you back a PNG — other Office APIs convert it to JPG, PDF and more. Same payload from C#, curl, or an LLM tool call.

services.regira.com/office/#tag/drawingsample

POST · /office/drawingrequest
{
  "targetCanvas": { "width": 1080, "height": 1527 },
  "items": [
    {
      "pdf": {
        // base64 PDF
        "bytes": "JVBERi0xLjMK…",
        "page": 1,
        "drawOptions": {
          "dimensionUnit": "Percent",
          "width": 100, "height": 100
        }
      }
    },
    {
      // stamp = rotated group
      "aggregate": {
        "drawOptions": {
          "top": 250, "left": 200,
          "rotation": 325, "opacity": 0.8
        },
        "items": [
          { "barcode": {
              "content": "Test-123456789-Test",
              "format": "Code128",
              "drawOptions": { "width": 400, "height": 150, "top": 50 }
          } },
          { "image": {
              // base64 PNG
              "bytes": "iVBORw0KGgo…",
              "drawOptions": { "height": 50, "position": "Left, Top" }
          } },
          { "label": {
              "text": "Test-123456789-Test",
              "labelOptions": { "fontSize": 16, "padding": 17 },
              "drawOptions": { "position": "Top, Right" }
          } },
          { "label": {
              "text": "Powered by Regira bv",
              "labelOptions": {
                "fontSize": 15, "padding": 10,
                "textColor": "#0000FFFF",
                "backgroundColor": "#FFFFFFBB"
              },
              "drawOptions": { "position": "Right, Bottom" }
          } }
        ]
      }
    }
  ]
}
200 OK · image/pngresponse
Sample.pdf · page 1Q1 2026
Quarterly statement
§ 03Drawing · spec

The grammar.

Each item is a discriminated union — one of pdf, aggregate, barcode, image or label. Aggregates nest other items and apply transforms to the group as a whole.

Item typespdfaggregatebarcodeimagelabel
drawOptionstopleftwidthheightrotationopacitydimensionUnitposition
dimensionUnitPixelPercent — switch between absolute and relative sizing per item.
positionNamed anchors: Left, TopTop, RightRight, BottomLeft, BottomCenter, Center   — use instead of (or alongside) top/left.
Barcode formatsCode128Code39Ean13Ean8UpcAItfQrCode
labelOptionsfontSizepaddingtextColorbackgroundColor   — colors as #RRGGBBAA.
pdf / imagebytes base64-encoded; page selects the source page for PDFs.
ComposabilityAn aggregate is itself an item. Nest as deep as you need; drawOptions on the wrapper transforms the whole group.
Outputpngjpgwebppdf
BackendsGDISkiaSharp — switch via DI, no caller change.
§ 04Live HTTP APIs

Three APIs. No .NET required.

The same Regira building blocks, exposed as plain HTTP endpoints at services.regira.com. Each ships its own Scalar-powered explorer with live request testing — call them from any language with a single HTTP request.

basic/01 / 03

Basic Utils

General-purpose utilities for encoding, encryption, hashing, string manipulation, JSON transformation and archiving.

Base64EncryptionHashingJSON+3
office/02 / 03

Office Utils

Document and office-file processing: PDF, Word, Excel, CSV, barcodes, QR codes, email parsing and OCR. Includes the Drawing API for compositing images, text and barcodes into a single output.

PDF/Word/ExcelBarcodesDrawing+4
drawing/03 / 03

Drawing API

Image manipulation: resizing, rotating, cropping, format conversion and layer-based drawing.

ImagesVideo
§ 05Authentication

Free to call. Keyed to scale.

Every endpoint works with no key on the free tier — capped at a small rate limit. Add a license key to lift the cap: a free 30-day trial or a per-developer commercial license, both with no limits.

Free tier · no key

Start free, key up for scale.

The free tier is rate-limited to 5 requests / 60 s and needs no key. For full throughput, send your license key in the X-License-Key header — request a free trial to remove the limit.

Request header — optional on free tier
X-License-Key:your-license-key

Omit the header to call on the free tier. Add a trial or commercial key to remove the rate limit. The interactive explorer in each API surface has a built-in field to enter your key — no setup needed to test.

§ 06Reference

Every endpoint group, by API.

A map of what each service covers. Each row links straight to its section in the live explorer.

Services for generating, converting and extracting data from common office and document formats.
01
PDF
Generates PDFs from HTML or images, renders pages as images, merges multiple PDFs, extracts plain text, and splits by page range.
API →
02
Word
Creates Word documents from templates, extracts plain text, merges documents, and converts between formats including DOCX and PDF.
API →
03
Excel
Creates Excel files from structured data and reads Excel files back to JSON.
API →
04
CSV
Converts structured data to CSV and parses CSV strings or files back to structured data.
API →
05
Barcodes
Generates barcode images in various formats and decodes barcodes from uploaded images.
API →
06
QR Codes
Generates QR code images with configurable content, color and size, and reads one or all QR codes from an image.
API →
08
Email Parsing
Parses Outlook MSG and EML email files, returning message content and optionally extracting attachments as a zip archive.
API →
09
OCR / Image to Text
Extracts text from images using Tesseract OCR, with support for multiple languages.
API →

Start calling today — free.

Every endpoint is available at services.regira.com. Interactive docs, copy-paste curl, no install. Start on the free tier with no key, then request a trial or commercial license when you need to lift the rate limit.

Also explore

IO & Storage

One IFileService over FileSystem, Azure Blob, GitHub and SSH/FTP — same calls, different backend.