144 symbologies, from Code 128, GS1 DataBar and QR to MaxiCode, DotCode and Han Xin. Output as PNG, SVG, PDF, EPS or ^GFA. GS1 validation included. Styled codes: QR codes with a logo or shaped modules and bar motifs, each read back before printing. Artistic codes →
Label model
Text, barcode, table, image, RFID in mm or inches. Expressions with element references, validation, AutoFit, duplex with front and back. Multilingual templates with {t:key} and a culture per print job. Save and load as JSON templates. Try expressions in the expression builder →
Visual label editor
The zplCore Designer edits this label model WYSIWYG in the browser: canvas, properties, data binding with JSON records, ZPL/PDF/PNG preview from the same engine. Embed it in your app via NuGet, Docker, JavaScript, Web Component or Blazor – your app keeps the design JSON. Try the live editor →
Data binding
label.For<T>() binds C# objects, EF Core queries and MongoDB or LiteDB documents via LINQ. Plus JSON (JsonElement) and dynamic records. Streaming with constant memory, asynchronously into Stream and PipeWriter.
ZPL optimizer
Shrinks ZPL without changing a single pixel: removes redundant commands and default parameters and recompresses graphics (Hex, ACS, Z64). Verified pixel-identical across the entire reference corpus.
DPI conversion
ZplRescaler converts raw ZPL between 203, 300 and 600 dpi. ZplGraphicEncoder encodes images as Hex, ACS, Z64 or B64 with 5 dithering methods.
Migration from label software
zplCore Capture turns labels from NiceLabel, BarTender, TEKLYNX and other Windows programs into JSON templates with bound fields and native barcodes. It reads only the print job, never the label files; use your own licensed installation and observe the licence terms of your program. Migration with zplCore Capture →
Preview & emulation
ZPL/EPL → PNG, PDF, SVG like a virtual Zebra printer
ZPL II renderer
Output as PNG, JPEG, WebP, BMP, GIF, PDF, GRF, HTML, EPS, TIFF (CCITT G3/G4, LZW, Deflate, PackBits, multi-page), PCL (mono, grayscale, color) and ESC/POS with NV logos. Stored formats with ^DF/^XF, graphics, barcodes, fonts.
Vector output
Entire labels as vector SVG and PDF: text as glyph outlines in SVG and as real, searchable text in the PDF (embedded font subset, optional PDF/A-2 and tagged PDF), barcodes and boxes as paths, graphics as 1-bit images. Every SVG element carries its position in the ZPL source. Rasterized back, the output matches the PNG (mean 1.000 at a 2-dot tolerance, 126 labels).
EPL2 renderer
EPL2 runs through the same engine. ToZpl() converts existing EPL forms to ZPL.
Diagnostics & source mapping
Structured diagnostics with stable codes. Every rendered element knows its position in the ZPL source and can be exported as JSON. Safety limits for untrusted ZPL.
Verified accuracy
Automated pixel comparison against printer-accurate reference renderings, averaging 0.986 across 169 test cases. QR Codes (^BQ, model 2) are module-identical with the printer-accurate reference renderings – mode selection, version, error correction and mask, checked on more than 3,600 reference symbols. QR model 1 is printed as model 2. Barcode encoders are verified bit-exact against bwip-js.
World scripts
HarfBuzz shaping and bidi for Arabic, Hebrew, Thai, Indic scripts and CJK.
Print
TCP 9100, USB, Windows spooler, CUPS, virtual printer
Print jobs
Leading label, records, trailing label and a cut after the last label, all in one job. Transport via TCP 9100, serial, USB, the Windows spooler or CUPS. ^MM/^MN/^MT, extended ~HQ status, dry run.
Virtual printer
ZplVirtualPrinter listens on TCP 9100, renders incoming print jobs and answers status queries. Test without hardware, optionally with simulated printer faults and a cutter.
RFID & EPC
EPC encoder and decoder for all 15 schemes of the GS1 EPC Tag Data Standard 2.3, ^RS/^RF/^HV commands, the RFID pre-check (ZPL3901–ZPL3912) and a Gen2 tag simulation. Try it in the RFID Studio →
Command line
The zplcore dotnet tool renders, converts EPL to ZPL, prints, generates barcodes, formats and diffs ZPL, checks labels (comply, verify, check) and redacts personal data.
TrueType fonts
TTF fonts go into printer memory via ~DY or are printed as graphics (PrintAsGraphic).
Data sources
JSON, CSV, SQL, REST or C# objects: your data on the label
A template plus records gives labels. The records can be JSON or CSV, the rows of a database query, the response of a REST API or your own .NET objects. C# is one way in, not a requirement: zplCore Server takes the data over HTTP from any language, the zplCore Designer works with JSON records, and in .NET the SDK binds any object.
JSON
One object, an array of records or { "records": [...] }, with nested objects and arrays: Customer.Address.City, Items[1].Sku. Field names match exactly first, then ignoring case. zplCore Server reads NDJSON record by record and takes values for the whole job, such as those on the start label, in "variables".
CSV
The header row gives the field names; quoting follows RFC 4180, including line breaks in quoted fields. The delimiter (,; tab or |) is detected from the header or set with ?delimiter=. zplCore Server streams CSV without loading the whole file; the Designer loads CSV test data from a file or a URL.
SQL databases
Named, parameterised, read-only queries in zplCore Server: PostgreSQL, SQL Server and Azure SQL, MySQL and MariaDB, SQLite; Oracle in the -full image with your own Oracle driver. Parameters are always bound, never pasted into the SQL. Column types are kept, so a date column formats as a date. In .NET the SDK binds EF Core and every driver with LINQ (list below).
REST APIs
zplCore Server fetches the records itself: a path with parameters, the list of items by JSON path, paging through the Link header or a JSON field, bearer, basic or header authentication. Only allowed hosts; private networks only if you allow them (SSRF protection).
C# objects
label.For<T>() binds classes (POCOs), dictionaries, ExpandoObject, DataRow, JsonElement and JsonNode from any IEnumerable<T>, IQueryable<T> or IAsyncEnumerable<T>, streamed into a file, a Stream or straight to the printer.
Expressions & formatting
Compute and format in the template, whatever the source: Format([ShipDate], "dd.MM.yyyy"), If(), AddDays(Today(), 365), Gs1CheckDigit(), number formats like 0.0 kg and a culture per print job. Try it in the expression builder →
Not only a C# library
Four ways to your labels
The same JSON templates and the same engine on every way: send data over HTTP from any language, bind objects in .NET, edit the template in a visual editor inside your application, or work on ZPL in scripts, CI and AI agents.
Data
JSON
NDJSON
CSV
SQL
REST API
C# objects
Template
Label JSON
Print job
Designer document
zplCorebinds · computes · renders · prints
ZPL · PDF · PNG · SVGas a file or HTTP response
PrinterTCP 9100, USB, spooler, CUPS
Previewin the Designer, same engine
Storage · webhookzplCore Server
Data and template in, labels out: the same engine whether you call it over HTTP, from C#, in the Designer or on the command line.
zplCore Server · Docker
REST API: JSON in, ZPL, PDF or PNG out
Records in the request body as JSON, NDJSON or CSV, or by name from a database or REST query: ?query=open-shipments&country=AT
ZPL as a stream, PNG, SVG, PDF, ZIP or a JSON report, chosen with the Accept header
Templates from a volume or Kubernetes ConfigMap, Git (git-sync), S3/MinIO, Azure Blob, Google Cloud Storage or HTTP; versioned, with hot reload
Straight to named printers over TCP 9100, optionally checked first by the printer twin; output to a volume, S3, Azure Blob or GCS
Asynchronous jobs with status and result (?async=true, /v1/jobs), signed webhooks, several templates in one batch request (/v1/batch)
# JSON records in, ZPL out
curl -X POST localhost:8080/v1/labels/versand/dhl-100x150 \
-H 'X-Api-Key: <key>' -H 'Content-Type: application/json' \
-d '[{"Name":"Anna Huber","Address":{"City":"Wien"}}]' -o labels.zpl
# rows of a named SQL query (zplcore.yaml) as a PDF
curl -X POST 'localhost:8080/v1/labels/versand/dhl-100x150?query=open-shipments&country=AT' \
-H 'X-Api-Key: <key>' -H 'Accept: application/pdf' -o tour.pdf
# CSV in, printed on the configured printer lager-1
curl -X POST 'localhost:8080/v1/labels/versand/dhl-100x150?print=lager-1' \
-H 'X-Api-Key: <key>' -H 'Content-Type: text/csv' --data-binary @shipments.csv
.NET SDK: one line of C#
var label = Label.FromJson(File.ReadAllText("dhl-100x150.json")); // the same templateusing var json = JsonDocument.Parse(File.ReadAllText("records.json"));
// JSON records → ZPLstring zpl = label.For<JsonElement>().ToZpl(json.RootElement.EnumerateArray());
// or your own objects, e.g. an EF Core querystring zpl2 = label.For<Shipment>().ToZpl(db.Shipments.Where(s => !s.Printed));
In .NET: any data source that delivers C# objects
Data binding works with any IEnumerable<T>, IQueryable<T> or IAsyncEnumerable<T>. Filtering and sorting run in the database, and the labels are streamed. That means every EF Core provider and every database driver with LINQ support works.
Anything C# can read
via EF Core, official .NET drivers or your own objects
using ZplCore.Labels;
var job = PrintJobTemplate.FromFiles("templates/leading.json", "templates/shipping.json", "templates/trailing.json");
job.JobName = "Tour 7";
job.KeyField = "TrackingNo"; // first/last key on the trailing label
job.CutAfterLastLabel = true; // cut only after the last label
job.StoredFormatName = "R:SHIP.ZPL"; // template once, then field values onlystring zpl = job.For<Shipment>().ToZpl(db.Shipments.Where(s => !s.Printed).Take(50).ToList());
File.WriteAllText("job.zpl", zpl); // 52 labels in ONE file
# samples/WebApiDemo – ASP.NET Core Minimal API
dotnet run -c Release --project samples/WebApiDemo
# Stream 50,000 shipments from EF Core/SQLite as ZPL
curl 'localhost:5080/api/jobs/db/zpl?country=AT&take=50000' -o at.zpl
# PDF preview from JSON records
curl -X POST 'localhost:5080/api/jobs/preview?format=pdf' -H 'Content-Type: application/json' -d @records.json -o preview.pdf
# Asynchronous via the queue: 202 Accepted, 429 when full
curl -X POST localhost:5080/api/queue -H 'Content-Type: application/json' -d '{"db":{"country":"AT","take":20000},"output":"zpl"}'
var epl = new EplRenderer(new ZplRenderSettings { Dpi = 203 });
List<byte[]> labels = epl.ProcessFile("label.epl");
string zpl = epl.ToZpl(File.ReadAllText("label.epl")); // migrate EPL forms to ZPLvar bc = new ZplCore.Barcodes.Barcode
{
Symbology = ZplCore.Barcodes.Symbology.Gs1_128,
Code = "(01)09521234543213(10)LOT42",
Unit = ZplCore.Barcodes.BarcodeUnit.Millimeter, BarWidth = 0.33, BarHeight = 20,
};
File.WriteAllText("gs1.svg", bc.ToSvg());
One package instead of four
One NuGet package for four jobs
Many .NET teams buy several SDKs just for labels: a ZPL emulator, an EPL emulator, a label designer and a barcode library. zplCore.com covers ZPL rendering, EPL rendering, label design and barcode generation in a single SDK and assembly.
Use case
Typically
zplCore.com
ZPL → PNG/PDF preview
ZPL emulator SDK
ZplRenderer
EPL2 → image, EPL → ZPL migration
EPL emulator SDK
EplRenderer · ToZpl()
Design labels in code, bind data, print
Label designer SDK
Labels.Label · PrintJobTemplate
Barcodes as image/vector, GS1 validation
Barcode SDK
Barcodes.Barcode · Gs1
Switching from another SDK? zplCore.com is not a 1:1 copy of other vendors' APIs and does not have every feature. Send us your ZPL files and requirements, and we will check coverage before you buy (see also known limitations).