xBarcodexBarcode
ISO ISO/IEC 18004:2015

QR Code Generator & ISO Standard Details

A 2D matrix barcode capable of handling numeric, alphanumeric, and byte data. Features built-in Reed-Solomon error correction (L, M, Q, H) to withstand damage.

Live Generator
22/500

Completes check digits when their position is clear. Use parenthesized AIs for GS1. Existing check digits are validated. Other formats keep their usual behavior.

FG
BG
🛡️Zero Data Retention: Encoded in edge memory. Never logged or stored.

Technical Specifications

Structure Finder Patterns + Alignment Patterns + Timing Patterns + Data & Error Correction Codewords
Capacity Numeric: 7,089 chars, Alphanumeric: 4,296 chars, Binary: 2,953 bytes
Character Set Numeric, Alphanumeric, Byte, Kanji
Quiet Zone Requirement ≥ 10x module width (Standard quiet zone)

Common Applications

This standard is widely used in the following industries:

Mobile Marketing, URLs, Wi-Fi Config, Payments, product packaging
Input Constraints & Parity: Engineered with Reed-Solomon Forward Error Correction (ECC) to tolerate physical damage, smudging, or partial occlusion. Configurable ECC levels ensure maximum scan reliability in high-speed sorting.
Developer Quickstart

Automate QR Code via API

Full API Reference →
curl -X POST https://api.xbarcode.ai/v1/render \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "format": "qr_code",
  "content": "https://xbarcode.ai/😄"
}' > barcode.svg
API outputs: SVG, PDF, EPS and matrix JSON. PNG is exported in the browser. < 20ms Edge latency

⚡ The Science Inside

How our Rust engine optimizes this specific format:

Mixed-mode DP segmentation (Numeric/Alphanumeric/Byte/Kanji) minimizes total bits for ISO 18004.

  • Version-specific header + character-count bit accounting ensures segments always fit the chosen version.
  • ECI (UTF-8) is inserted only when bytes fall outside Latin-1, keeping typical payloads smaller.
  • Reed-Solomon ECC uses a cached GF(256) encoder and spec-compliant block interleaving without expanding bits (lower memory).
  • Mask selection evaluates ISO penalty rules with word-level scans, popcount balance, and virtual masking (no matrix clones).
  • Fast paths: stack-allocated DP for <=64 chars, and short/homogeneous content skips DP for speed.
Related Standards

Alternative Symbologies related to QR Code

Need an Industry-Grade Solution?

Explore how xBarcode powers retail GTIN, shipping labels, and GS1 Digital Link migration.