Java-grade barcode accuracy for Node backends

Node.js services often deal with real-world input: mobile photos, warehouse labels, scanned documents, and PDFs. This SDK exposes a mature Java barcode engine to Node.js so you can keep your stack and still decode reliably under imperfect conditions.

Standards? Covered.

Aspose.BarCode for Node.js via Java supports all major image formats, including vector formats like SVG and EMF, as well as PDF. Use our API to recognize files from scanners or cameras with ease. Here are all supported barcode symbologies, including 1D, 2D, postal, and composite types. Each one can be generated and recognized across all supported platforms.

Matrix / 2D Codes

  • QR Code, MicroQR, rMQR
  • Data Matrix, Industrial Data Matrix (DPM)
  • Aztec
  • Han Xin
  • MaxiCode
  • DotCode

Linear / 1D Codes

  • UPCA, UPCE
  • EAN13, EAN14, EAN8
  • Code 128
  • DataBar
  • ITF
  • Postal

Industry & Composite Codes

  • GS1
  • ECI
  • Composite barcodes
  • HIBC
  • SwissQR
  • Royal Mailmark

Deploy to any Node.js environment

Run on Windows, Linux, macOS, or Solaris wherever Node.js and Java are available. Install from npm and call the API from microservices, background workers, and batch pipelines through a Node.js to Java bridge.

  • Node.js 18 or higher
  • Java JDK 8 or higher (OpenJDK, Amazon Corretto, BellSoft Liberica, Oracle JDK)
  • Install via npm: `npm install aspose.barcode`
  • Java engine with a JavaScript-friendly API via the Node.js-to-Java bridge
Microsoft Windows
Linux
macOS
Intellij Idea
VS Code
Docker
GitHub

Live Code Demo

Paste text → get a barcode. Drop a file → get decoded data. Both examples come with auto-generated sample code so you can copy straight into your project.


// Initialize BarcodeGenerator let gen = new BarcodeGenerator(EncodeTypes.QR, "1234567"); // Set generation parameters gen.getParameters().getBarcode().getXDimension().setPixels(7); gen.getParameters().getBorder().setColor("#ff000000"); gen.getParameters().getBorder().getWidth().setPixels(7); // Generate and save Barcode image gen.save("image.png", BarCodeImageFormat.PNG);

// Initialize BarCodeReader let reader = new BarCodeReader("image.png", null, DecodeType.QR); // Set recognition quality reader.setQualitySettings(QualitySettings.getHighPerformance()); // Recognize barcodes and output results let res = reader.readBarCodes(); console.log(`Recognized ${res.length} barcode(s)`); for (const result of res) { console.log(`${result.getCodeTypeName()}: ${result.getCodeText()}`); }

Barcode workflows for APIs, jobs, and documents

Build reliable barcode flows in Node.js without moving processing to external services. Generate print-ready labels, validate incoming codes, and decode from images or PDFs in backend pipelines.

  • Generate 1D and 2D barcodes for labels, tickets, invoices, and product packaging
  • Read barcodes from raster images and PDF documents
  • Tune recognition for speed or tolerance using presets and detailed settings
  • Output to common raster formats and vector formats (SVG, EMF) when needed
  • Return rich results: code text, symbology, region, and orientation

High-throughput recognition for services and batches

Scale from single requests to bulk processing. Detect multiple barcodes per image, focus on regions to speed up large frames, and switch recognition presets per workload.

Feature icon

Generate barcodes in raster and vector formats

Feature icon

Region-of-interest scanning for large images

Feature icon

Validation options to reduce false positives

Feature icon

Auto-rotation and multi-barcode detection

Feature icon

Multiple symbologies in one pass (for example, QR and Code 128)

Feature icon

QualitySettings presets for speed vs. accuracy