Skip to content
Toolars
Explore

QR Code Generator

Enter text or a link to create a QR code.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Preparing offline use…

Privacy information
Report bug

Task path / input to outcome

How to create a QR code

  1. 01

    Enter the content

    Type or paste a URL, plain text, or a compact payload into the Content field — from 1 to 2,000 UTF-8 bytes, with the limit shown in the panel header. Non-Latin text consumes several bytes per character, so watch the byte budget rather than the character count; after a successful run the status line reports the exact bytes encoded.

  2. 02

    Pick the error correction level

    Choose L, M, Q, or H under Error correction. M, the default, survives everyday smudges and is right for screens and clean print; Q and H recover from larger damage at the cost of a denser symbol at the same content length. Reserve H for codes that will be printed small, handled often, or partly covered.

  3. 03

    Tune the size and margin

    Target size accepts 128–1024 px and margin 0–16 modules. Actual PNG and SVG dimensions use an integer number of pixels per module, so they may differ from the target. The result shows the module grid, actual size and physical size estimate at a selected DPI. A dense code benefits from a larger size; a margin below 4 modules shows a repair action.

  4. 04

    Set the colors

    Use dark marks on a light background. The 3:1 contrast check is only an initial filter, not a scan guarantee — glossy paper, curved stickers, and low light all erode contrast further, so test the exported artwork in the real conditions.

  5. 05

    Generate the code

    Press Generate QR code; the renderer library loads into the tab on demand, so the first run takes a moment. The preview renders as a safe PNG and the generated SVG is validated and never injected into the page. If the payload exceeds capacity at the chosen correction level, the tool says so — shorten the content or step the level down.

  6. 06

    Export PNG, SVG, or copy the markup

    Download toolars-qr-code.png for slides and documents, toolars-qr-code.svg for print and design tools, or grab the vector source with Copy SVG to paste into code. Changing any option clears the preview, so generate again after edits, and keep the quiet-zone margin in the exported artwork.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Optional local handoff
Price
Free

Your input stays in the browser.

QR Code Generator uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Workspace and handoff

Closing the tab clears normal workspace data. If you choose a handoff, the selected result stays on this device across reloads and tab closes, and can be accepted for 30 minutes. Accepting or dismissing removes it; expired records are cleared the next time the handoff feature is used.

When QR Code Generator is useful

Point a table tent to a menu

Enter the short menu URL, keep error correction at M and a margin of at least 4 modules, and generate at 512 px. Download the SVG for the printer — vector artwork stays sharp at any print size.

Rebuild a code after moving pages

The event page URL changed, so paste the new link and generate again. QR content is baked into the pattern; an already-printed code keeps encoding the old address no matter where the site now redirects.

Fit a long link onto a flyer

A tracking-heavy URL nears the byte budget and renders a dense symbol. Shorten it with your link service first, then generate; the sparser code scans more reliably at small print sizes.

What QR Code Generator actually does

A café owner replaces printed menus with a laminated card on each table; an event volunteer needs forty badges that open the schedule page; a market seller wants a sticker on the stall that opens a payment page without anyone typing. A QR code generator online turns any of those links into a scannable square in seconds: paste the final URL, keep the default M error correction, and download the PNG for a slide or the SVG for a printer. This free QR code generator runs entirely in the browser — the link being encoded never leaves the tab, which matters when the URL is an unpublished page or carries campaign parameters you would rather not hand to a third-party service. Check two things before mass printing: generate at the size the artwork will actually use, and scan the exported file with the phones the audience carries, because contrast, glossy paper, and curved surfaces behave differently from a screen preview.

Common questions

How much content fits into one code?
Between 1 and 2,000 UTF-8 bytes, measured with a real encoder. Non-Latin text takes several bytes per character, so the byte limit — not the character count — is what matters; after generating, the status line reports the exact byte count. Longer payloads also produce denser symbols at the same pixel size, so for print at small sizes, prefer a short URL over a long paragraph, and keep the higher error-correction levels for the codes that will live outdoors. Content exceeds QR capacity at this correction level. Shorten it or choose a lower level.
Which error correction level should I choose?
M, the default, is the right general choice for screens and clean print. Pick Q or H when the code might get dirty, damaged, or partly covered — outdoor posters, stickers, packaging; higher levels keep the code readable at the cost of a denser symbol at the same content length. L is the sparsest option and suits only controlled digital display.
What size should I generate for print?
Match the code's physical size to the scanning distance: a code on a table card can be 2–3 cm across, while a poster read from two meters needs 10 cm or more. Generate at the pixel dimensions your artwork uses, prefer the SVG export so the printer scales cleanly, and remember the size estimate is a guide, not embedded DPI metadata. Always test-scan the printed sample before a full run.
Why was my color combination rejected?
Use dark marks on a light background. The 3:1 contrast check is only an initial filter, not a scan guarantee — a combination that passes can still fail on glossy paper or in low light, so scan a printed sample before production.
Can I put a logo in the middle of the code?
This workspace has no logo overlay feature, and adding one manually is risky: it destroys modules that carry data. If you must overlay artwork, raise error correction to H first, keep the logo small and centered, and test-scan aggressively. A code that fails at a checkout counter costs more than a plain one.
Why did my link break after I updated the website?
A QR code encodes the exact text you entered — nothing is looked up at scan time. If the target URL changes, the printed code still points at the old address; the fix is generating a new code. For posters you expect to reprint, use a stable short link you control and redirect it as pages move.
Should I download PNG or SVG?
PNG is a fixed-resolution bitmap, right for slides, documents, and quick tests. SVG is vector markup that stays sharp at any print size and drops into design tools; printers prefer it. Use Copy SVG when the markup belongs in code, and keep the quiet-zone margin visible in the exported artwork.
Why does a long URL make a dense code?
Every module carries a fixed number of data bits, so longer payloads need more modules — a busier pattern with smaller squares at the same image size. Dense codes scan worse at small sizes and in poor contrast. Prefer a short URL, and if the status line reports a byte count near the limit, trim tracking parameters first.
Is my content uploaded anywhere?
Processing runs in this browser; nothing is uploaded and no account is required. Closing the tab clears normal workspace data. If you choose a handoff, the selected result stays on this device across reloads and tab closes, and can be accepted for 30 minutes. Accepting or dismissing removes it; expired records are cleared the next time the handoff feature is used.

Keep reading

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

Password Generator

Generate 8–128-character passwords from selected character sets with browser Web Crypto; every chosen set appears at least once. Copy to the clipboard or download plain text; generation runs in this tab. The same page creates or verifies Bcrypt hashes in a local Worker (cost 4–12; password limit 72 UTF-8 bytes).

Protect

List Randomizer

Enter list entries using a line break, comma, semicolon, tab or literal custom separator. Shuffle all; Draw a selection; Create groups; Remove duplicate values.

Edit

Image to Text OCR

Extract printed text from PNG or JPEG images in 13 languages — each model pack downloads on demand, recognition runs locally, and downloaded packs work offline.

Extract

Subtitle Converter

Convert plain-text subtitles between SRT and VTT and shift cue timing by whole milliseconds — up to 1 MiB and 10,000 cues per run.

Convert