Generate QR Codes & Barcodes
Without Dependencies
CodeGlyphX is a blazing-fast, zero-dependency .NET library for encoding and decoding QR codes, Data Matrix, PDF417, Aztec, and all major 1D barcode formats. No System.Drawing. No SkiaSharp. Just pure .NET.
dotnet add package CodeGlyphX Barcode Formats
Output Formats
Dependencies
Platforms
Built for Modern .NET Development
Everything you need for barcode generation and scanning, with none of the bloat.
Zero Dependencies
No System.Drawing, SkiaSharp, or ImageSharp required. Pure managed code that deploys anywhere without native library headaches.
Encode & Decode
Full round-trip support. Generate codes and read them back from PNG, JPEG, BMP, GIF, and more with robust pixel detection.
2D Codes
QR Code, Micro QR, Data Matrix, PDF417, and Aztec with full ECI, Kanji, structured append, and FNC1/GS1 support.
1D Barcodes
Code 128, GS1-128, Code 39, Code 93, Codabar, MSI, Plessey, EAN-8/13, UPC-A/E, ITF-14, and more.
Multiple Outputs
Render to PNG, JPEG, BMP, SVG, SVGZ, PDF, EPS, HTML, ASCII art, and exotic formats like PPM, PBM, TGA, ICO, XBM, XPM.
AOT & Trim Ready
No reflection, no runtime codegen. Fully compatible with Native AOT publishing and aggressive trimming.
Cross-Platform
Runs identically on Windows, Linux, and macOS. Targets .NET 8+, .NET Standard 2.0, and .NET Framework 4.7.2.
Payment Helpers
Built-in support for SEPA Girocode, Swiss QR Bill, BezahlCode, UPI, and cryptocurrency addresses.
OTP Support
Generate otpauth:// TOTP and HOTP codes compatible with Google Authenticator, Microsoft Authenticator, and Authy.
Style Boards Built with CodeGlyphX
Curated styles generated by the library itself. Crisp, scalable, and ready for big screens.
Every Barcode You Need
From retail EAN codes to industrial Data Matrix, CodeGlyphX has you covered.
2D Matrix Codes
1D Linear Barcodes
Payload Types
One Line of Code
Generate any barcode format with intuitive, discoverable APIs.
using CodeGlyphX; // QR Code - one liner QR.Save("https://evotec.xyz", "website.png"); QR.Save("https://evotec.xyz", "website.svg"); QR.Save("https://evotec.xyz", "website.pdf"); // Barcodes Barcode.Save(BarcodeType.Code128, "PRODUCT-12345", "barcode.png"); Barcode.Save(BarcodeType.Ean13, "5901234123457", "ean.png"); // 2D codes DataMatrixCode.Save("Serial: ABC123", "datamatrix.png"); Pdf417Code.Save("Document ID: 98765", "pdf417.png"); AztecCode.Save("Ticket: CONF-2024", "aztec.png"); // Decode from image if (QrImageDecoder.TryDecodeImage(File.ReadAllBytes("qr.png"), out var result)) { Console.WriteLine(result.Text); }
More Than Just Text
Built-in helpers for WiFi, contacts, payments, authentication, and more.
using CodeGlyphX; using CodeGlyphX.Payloads; // WiFi configuration QR.Save(QrPayloads.Wifi("MyNetwork", "SecurePassword123"), "wifi.png"); // 2FA / OTP codes (Google Authenticator, Authy, etc.) QR.Save(QrPayloads.OneTimePassword( OtpAuthType.Totp, "JBSWY3DPEHPK3PXP", label: "user@example.com", issuer: "MyApp" ), "otp.png"); // Contact card QR.Save(QrPayloads.VCard( firstName: "Przemyslaw", lastName: "Klys", email: "contact@evotec.pl", website: "https://evotec.xyz" ), "contact.png"); // SEPA payment (European bank transfer) QR.Save(QrPayloads.Girocode( iban: "DE89370400440532013000", bic: "COBADEFFXXX", recipientName: "Evotec Services", amount: 99.99m, reference: "Invoice 2024-001" ), "payment.png");
Ready to Get Started?
Install CodeGlyphX via NuGet and start generating barcodes in minutes. No configuration, no native dependencies, just pure .NET.
CodeGlyphX is developed and maintained by Przemyslaw Klys at Evotec Services sp. z o.o.
We build open-source tools for the .NET ecosystem, including PowerShell modules, libraries, and developer utilities. Check out our other projects on our GitHub organization.