# QR code scanner > How do I scan a QR code safely? Read a QR code with your camera or a screenshot and check the link before you open it. Scan a QR code with your camera or a screenshot. See the real address, warnings about short or look-alike links, and Wi-Fi or payment details. A preset of [QR and barcode scanner](https://how.box/code-scan/). - Page: https://how.box/qr-scan/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/qr-scan/?f={f} - `f` (all, qr or linear): Codes to look for: all, qr (2D codes) or linear (barcodes). Example: `qr`. Example answer: https://how.box/qr-scan/?f=qr The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `code_scan_inspect_text`: Explains the text of a scanned QR code or barcode before anyone acts on it: what it is and where a link really leads. - MCP: POST https://how.box/mcp `tools/call` with `{"name":"code_scan_inspect_text","arguments":{…}}`; input schema in https://how.box/agent-tools.json. ## How it works A QR code is a square of black and white modules that stores a short text. What makes it risky is that the person who prints it chooses the text, and a sticker over a real code looks the same as the real one. This page reads the text, decodes it on your device and shows what is in it before anything opens. For a link, the part that matters is the host name, the part between the scheme and the first slash. A web address can carry a user name in front of an at sign (RFC 3986), so a bank name written before the @ is only decoration and the browser goes to the host after it. International names can use letters that look like Latin ones, and short links hide the destination. The table lists sample texts with the host each one really opens and how many warning signs they carry. The same reader understands the other things QR codes hold: Wi-Fi network logins, contact cards, calendar entries, locations, text and SEPA payment requests. It labels each by kind and lists the fields, so you can check a payment code before you pay. Because everything is read in your browser, an opened camera view or a pasted screenshot is not uploaded. ## FAQ **How can I tell if a QR code is a scam?** Look at the site name the scanner shows, not the poster around the code. Be careful with short links, misspelled or look-alike names, and codes stuck on top of others. Never enter bank details on a page you reached by a code. **Can it read Wi-Fi and payment QR codes?** Yes. Wi-Fi codes show the network and password, contact codes show the card's fields and EPC payment codes show the recipient, IBAN and amount. **Can a QR code contain a virus?** A QR code only holds text, and text cannot run by itself. The risk is what your phone does with it: open a link, join a Wi-Fi network or start a payment. That is why this page shows the content first and opens nothing on its own. **Why will my QR code not scan?** Common causes are glare, a blurry or tilted picture, a code that is too small in the frame or a damaged print. QR codes have built-in error correction that can repair some damage, but not a missing corner marker. Move closer, steady the camera or use a sharper screenshot. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)