QR code generator

Turn text or a web address into a QR code you can copy or download as a PNG or SVG picture.

Everything happens on your device. What you type never leaves it.

Error correction
Picture size

Your QR code appears here.

This tool needs JavaScript to run

About this tool

This tool turns text or a web address into a QR code, the square pattern a phone camera reads. Type or paste what the code should hold, and the code appears beside it as you type. Then copy it as a picture, or download it as a PNG for documents and slides or as an SVG for print.

Error correction decides how much damage a code survives. Level L repairs about 7% of the code, M 15%, Q 25% and H 30%. A higher level makes a denser code, so choose it when the code will be printed small, worn or partly covered by a logo, and keep M for everyday use. The quiet zone is the plain white margin scanners need to find the edges of the code; the standard asks for four modules, and the size option sets how large the PNG picture is.

The code is drawn on your device. What you type is never sent to a server or kept anywhere, so it is safe to encode a private link or a Wi-Fi password, and after your first visit the tool also works with no connection. The picture is always dark on white, in every theme, because that is what scanners read best.

Examples

A web address

Input

https://ajx.io

Output

A small code, 21 by 21 modules at the default level, that opens the address when scanned.

Plain text

Input

Meet at the north entrance at 9:30.

Output

A larger code that shows the sentence when scanned.

Wi-Fi sign-in

Input

WIFI:T:WPA;S:Guest;P:correct horse battery;;

Output

A code that most phones offer to join the network from.

Common questions

Is the text I enter uploaded anywhere?

No. The code is made by code running in your browser, and nothing you type is sent to ajx.io or anyone else. The tool keeps working if you go offline.

How much can a QR code hold?

At the lowest error-correction level the largest code holds 2953 bytes, and at the highest 1273. Letters and digits are one byte each, but an accented letter takes two bytes and an emoji four. If your text is too long the tool says how many bytes it has and how many fit.

Which error-correction level should I choose?

M is a good default. Choose L for the simplest code when it will be shown on a screen, and Q or H when it will be printed small or may get scuffed. A higher level makes the code bigger, so it needs more room to stay readable.

Should I download a PNG or an SVG?

A PNG is a fixed-size picture that works everywhere, so use it for documents, chats and slides. An SVG is made of shapes, so it stays sharp at any size, which is better for print.

Why is the code always black and white?

Scanners expect dark squares on a light background. A code in dark mode colours, or with the colours swapped, can fail to scan, so the picture stays dark on white in every theme.