Skip to content
A treasure chest with a QR code, language & framework logos.

QRCodeSDK

Build QR codes with a single TypeScript-first API, then render them in the format your app needs.

Pick your runtime or framework, install the package, and paste the example.

Terminal window
npm install @qrcodesdk/core

Render a scalable SVG string with the runtime-neutral Core package:

import {QRCodeSVGRenderer, qrcode} from '@qrcodesdk/core';
const svg = qrcode('https://qrcodesdk.dev').render(QRCodeSVGRenderer());

SVG is the recommended default for web pages, print, and static assets. It stays sharp at any size and needs no browser or Node.js APIs. SVG support varies between email clients, so use a PNG Buffer for email.

Not sure which package you need? See Choose your setup. For the terminal, start with the CLI.