QR Error Correction Analyzer is a technical diagnostic tool that reads and decodes the format information embedded in every QR code to determine the exact Error Correction (EC) level. While standard QR scanners simply decode the content, this tool analyzes the Reed-Solomon block structure behind the code, showing you the precise EC level (L, M, Q, or H), the data-to-EC codeword ratio, and a side-by-side comparison of how all four EC levels affect capacity for the same QR version.
The tool works by decoding the 15-bit format information string stored near the finder patterns of the QR code. This string encodes the EC level (2 bits) and the data mask pattern (3 bits), protected by a BCH(15,5) error-correcting code that can correct up to 3 bit errors. Using the finder pattern positions returned by the jsQR library, the tool maps each format info module position from QR coordinate space to image pixel coordinates, reads the luminance values, and decodes them using a Hamming-distance matching algorithm against all 32 valid format information codewords.
Once the EC level is determined, the tool calculates the exact Reed-Solomon block structure for that version and EC level: total codewords in the QR code, data codewords available for storing content, error correction codewords added for resilience, and the overall EC ratio as a percentage. A visual progress bar shows the proportion of data to EC codewords. The tool also displays a comparison table of all four EC levels for the detected version, so you can see exactly how much data capacity is traded for error resilience at each level.
Everything runs entirely in your browser using client-side JavaScript. When you select an image, it is read locally using the FileReader API and processed in memory. No image data, decoded content, or structural information is ever uploaded to any server or transmitted over the network. Your privacy is fully protected.