Use this when you need to turn text or a URL into a real, scannable QR code rather than describing one.
Use this when you need to turn text or a URL into a real, scannable QR code rather than describing one. Deterministic: same input, same output. Byte mode, error-correction level M, versions 1-10 auto-selected by length (up to 213 bytes); the encoder scores all 8 mask patterns and keeps the lowest-penalty one. Returns both the module matrix as rows of 0/1 (1 = dark module) and a ready-to-render self-contained SVG string. moduleSize sets SVG pixels per module (default 10) and quietZone the border width in modules (default 4). Example: {text:'HELLO'} -> version 1, size 21x21, byteLength 5. Longer text auto-bumps the version and matrix size; over 213 bytes returns an error.
Request
- Base URL: https://api.clean.tools
- URL: https://api.clean.tools/v1/generate_qr
- Auth: none declared
Request body
Response
Structured tool result.
Changes
No recorded changes to this operation across all 1 revision of this API.