QR CODE GENERATOR ================= This QR code generator exposes PNG and SVG controls, but its preview is not a valid QR encoding. Review the current limitation before exporting. This QR code generator has text input, size, error-correction, margin, PNG download, and SVG copy controls. However, the current visible preview draws a pattern from a text hash rather than encoding a valid QR payload. Its PNG and SVG exports use that same pattern, so treat this workflow as blocked for creating scannable codes. OVERVIEW & METADATA ------------------- Canonical URL: https://million.tools/qr-code-generator/ Markdown Copy (.md.txt): https://million.tools/qr-code-generator.md.txt Plain Text Copy (.txt): https://million.tools/qr-code-generator.txt API Endpoint: https://million.tools/api/v1/run/qr-code-generator (POST, Keyless, 60 req/min) SEO Title: QR Code Generator | Current Preview and Export Limitation Alternative Names: QR Preview and Export, Inspect QR Generation, QR code maker, QR image generator, QR PNG generator, QR SVG generator Category: Generator (https://million.tools/generator/) Tags: #QR Code Application Category: UtilitiesApplication Platform: Web (All modern desktop and mobile browsers, requires JavaScript) Price: Free ($0.00 USD, no registration or sign-up required) Live Calculation: Supported (Auto / Live toggle enabled by default) Usage Statistics: 7 uses | 26 views Published: 2026-12-01 Last Updated: 2026-12-01 Author: Egor Volchenko (Developer & Author) KEY FEATURES ------------ - Accept text, URL, or data input - Expose four size targets - Expose correction-level and margin selectors - Render the current pattern preview - Download the current canvas as PNG - Copy the current pattern as SVG PARAMETERS & INTERFACE CONTROLS ------------------------------- Input Parameters & Options: - input_text: Text, URL or Data to Encode. - qr_size: 180 x 180 px | 256 x 256 px | 350 x 350 px | 512 x 512 px - qr_ecc: L - Low (~7%) | M - Medium (~15%) | Q - Quartile (~25%) | H - High (~30%) - qr_margin: 1 module | 2 modules | 4 modules (standard) Output Fields & Metrics: - result: Result. Controls: Generate QR Code, Clear, Download PNG, Copy SVG, Fill test data, Auto / Live INTERACTIVE EXAMPLE (TEST VECTOR) --------------------------------- Settings: - Size (pixels): 256 x 256 px - Error Correction: M - Medium (~15%) - Quiet Zone (Margin): 2 modules Text, URL or Data to Encode: https://million.tools Result: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAklEQVR4AewaftIAAAW4SURBVO3BURJjSREEwcgy3f/KyfwDajP0tpGmwj39A0krDZLWGiStNUhaa5C01iBprUHSWoOktQZJaw2S1hokrTVIWmuQtNYgaa1B0lqDpLUGSWsNktZ68ZAkbNSWG5Jw0pYnJOGkLZ9KwklbTpKwUVs+NUhaa5C01iBprUHSWoOktQZJaw2S1hokrfXiorb8kiT8kiTckoRPteWWtvySJNwwSFprkLTWIGmtQdJag6S1BklrDZLWGiSt9eLLJOGGttyShE+15QlJOGnLSRI+lYSTttyShBva8i0GSWsNktYaJK01SFprkLTWIGmtQdJag6S1XmiVtpwkQTsMktYaJK01SFprkLTWIGmtQdJag6S1XugnJOGbtOVTSdD/1yBprUHSWoOktQZJaw2S1hokrTVIWmuQtNaLL9MW/bu23JKEkyR8qi3fpC3bDJLWGiStNUhaa5C01iBprUHSWoOktQZJa724KAn6z9ryThJO2nKShJO2nCThpC3vJOGkLU9Igv7dIGmtQdJag6S1BklrDZLWGiStNUhaa5C01ouHtEX/nLacJOGkLX+btuh/M0haa5C01iBprUHSWoOktQZJaw2S1hokrZX+wQOScNKWkyT8krY8IQnvtOWWJDyhLTck4Ze05VsMktYaJK01SFprkLTWIGmtQdJag6S1BklrvbgoCSdt+VQSTtpySxJuSMItbfkWbTlJwklbbkjCSVtuGCStNUhaa5C01iBprUHSWoOktQZJa714SFuekIRvkYRb2vJOEk7acksSPtWWX5OEd9ryhCSctOVTg6S1BklrDZLWGiStNUhaa5C01iBprUHSWukfPCAJf5u2nCThhracJOEJbbkhCb+mLTck4aQtnxokrTVIWmuQtNYgaa1B0lqDpLUGSWsNktZ6cVFbnpCEd9pykoSTJNzSlk+15SQJJ0l4QlveactJEp7QlpMkfCoJv2SQtNYgaa1B0lqDpLUGSWsNktYaJK01SFrrxZdJwg1teUISbkjCSVtO2vKEJHwqCSdteUISTtpykoR32nKShJO23DBIWmuQtNYgaa1B0lqDpLUGSWsNktYaJK314ge15Z0knLTlJAlPaMtJEj6VhFvacpKETyXhpC1PSMK3SMJJWz41SFprkLTWIGmtQdJag6S1BklrDZLWGiSt9UL/VVtOknCShJO2vJOEJ7TlCUk4acs7SThpy0kSbmnLp9pykoQbBklrDZLWGiStNUhaa5C01iBprUHSWi/+Qm15QhJO2nJDW06ScEtbbkjCL0nCSVtO2nLDIGmtQdJag6S1BklrDZLWGiStNUhaa5C0VvoH+kcl4aQtNyThCW05ScKn2nJLEj7Vll8ySFprkLTWIGmtQdJag6S1BklrDZLWGiSt9eIhSdioLSdtOUnCp9py0paTJJwk4aQt7yThCUk4acsT2vJOEm5py6cGSWsNktYaJK01SFprkLTWIGmtQdJag6S1XlzUll+ShCck4VNteUISntCWb9GWW5LwTltOkvAtBklrDZLWGiStNUhaa5C01iBprUHSWoOktV58mSTc0JZfkoSTtjyhLSdJuCEJ36Qt7yThlwyS1hokrTVIWmuQtNYgaa1B0lqDpLUGSWu90E9oyxPa8oS23JCEJ7TlJAknSfibDJLWGiStNUhaa5C01iBprUHSWoOktV7oJyThlrY8IQmfasstbTlJwqfacpKEGwZJaw2S1hokrTVIWmuQtNYgaa1B0lqDpLVefJm2/G3acpKEd9pykoSTtjwhCTck4aQtJ0m4oS2/ZJC01iBprUHSWoOktQZJaw2S1hokrTVIWuvFRUnYKAknbfklbfkWSfgWSfglg6S1BklrDZLWGiStNUhaa5C01iBprUHSWukfSFppkLTWIGmtQdJag6S1BklrDZLWGiStNUhaa5C01iBprUHSWoOktQZJaw2S1hokrTVIWutf/Bl+JptFaJkAAAAASUVORK5CYII= HOW TO USE QR CODE GENERATOR ---------------------------- Start with a known test sample so you can check the result against the expected behavior. Inspect the QR preview controls: 1. Enter a test message: Type a short non-sensitive sample into Text, URL or Data to Encode. The preview updates while you edit. 2. Inspect the rendering options: Choose Size (pixels), Error Correction, and Quiet Zone (Margin). The correction selector is present, but the current browser pattern does not implement error correction. 3. Refresh the preview: Click Generate QR Code when needed. The remote response is stored separately and does not replace the canvas used by the visible preview. 4. Recognize the export limitation: Download PNG saves the canvas and Copy SVG copies the same pattern as SVG. These exports are not valid QR encodings and must not be used as scannable codes. 5. Clear the input: Use Clear where shown or the input clear control to remove the message. Empty input redraws the built-in default pattern rather than leaving a blank preview. Enter Million tools test, choose 256 x 256 px, M - Medium (~15%), and 4 modules (standard). A grid appears, but it does not contain a valid encoding of that message. The same message is encodable by the separate API; its result is not wired to these export buttons. Why a QR-like pattern is insufficient: A readable QR symbol needs payload codewords, error-correction codewords, format information, and the required layout rules. The current canvas routine fills data cells using a seeded pattern instead. It even produces the same matrix for different short inputs with the same hash, so visual changes cannot confirm a faithful encoding. What size and margin controls currently change: Size (pixels) offers 180, 256, 350, and 512 pixel targets. The canvas uses whole modules, so its actual dimensions can be smaller than the selected target. Quiet Zone (Margin) adds 1, 2, or 4 blank modules. Changing Error Correction does not change the generated matrix in the current routine. FREQUENTLY ASKED QUESTIONS -------------------------- Q: Can I use the downloaded image as a scannable QR code? A: No. Download PNG saves the current pattern canvas, which does not implement QR payload encoding. A familiar finder-pattern appearance is not enough to make the image a valid code. Q: Does Copy SVG fix the encoding? A: No. It exports vector paths for the same matrix shown on the canvas. Changing from PNG pixels to SVG paths does not add missing payload data or correction codewords. Q: Does Error Correction change the output? A: The selector displays L, M, Q, and H, but the browser matrix function does not use the selected correction level. Its approximate percentages therefore do not describe protection implemented by this preview. Q: Why is the PNG smaller than the selected pixel size? A: The renderer chooses a whole-pixel module scale and fits the symbol plus margin into the requested target. The resulting canvas dimensions can fall below that target. This sizing behavior is separate from the missing QR encoding. Q: Can I add a logo, colors, or a dynamic destination? A: No logo upload, color selector, dynamic-link management, share-link button, or embed-script control is present. Those features must not be inferred from the catalog description. Q: Why can the API generate a valid code while the preview cannot? A: The API uses a separate QR encoder and returns an image payload. The page’s shared handler writes it into a hidden result field, while Download PNG and Copy SVG continue using the local pattern. The current interface does not connect that valid API result to its preview or exports. RELATED TOOLS ------------- - UUID v6 Generator (https://million.tools/uuid-v6/): Inspect UUID v6 batches with hyphen and case options. The initial browser timestamp is malformed; API replacement does not repair that path. - UUID v4 Generator (https://million.tools/uuid-v4/): Generate 1–500 random UUID v4 values. Choose standard hyphens or compact Hex, select letter case, and copy the whole list. - UUID v1 Generator (https://million.tools/uuid-v1/): Generate 1–500 time-based UUID v1 values. Choose standard hyphens or compact Hex, select letter case, and copy the whole list. - UUID v7 Generator (https://million.tools/uuid-v7/): Generate 1–500 time-sortable UUID v7 values. Choose standard hyphens or compact Hex, select letter case, and copy the whole list. ABOUT THE AUTHOR ---------------- Egor Volchenko — Developer & Author Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience. Links: x.com (https://x.com/egorleet) | github.com (https://github.com/egorleet) | t.me (https://t.me/egorleet) | instagram.com (https://www.instagram.com/egorleet) | facebook.com (https://www.facebook.com/egorleet/) | egorleet.blog (https://egorleet.blog/) | mastodon.social (https://mastodon.social/@egorleet) | twitch.tv (https://www.twitch.tv/egorvolchenko) | stackoverflow.com (https://stackoverflow.com/users/31679135/egor-volchenko) | reddit.com (https://www.reddit.com/user/Vegetable_Window9185/) | youtube.com (https://youtube.com/@egor-volchenko)