Home › Image Tools › Barcode Scanner

Barcode Scanner

Scan barcodes and 2D codes without installing an app. Point your phone or laptop camera at a code, or drop in a photo or screenshot. Every result is listed in a history you can copy or export as a CSV spreadsheet, and nothing leaves your device.

Last updated:

Advertisement
Advertisement

How to use the Barcode Scanner

  1. Choose a source: stay on Scan an image to use a photo or screenshot, or switch to Use camera.
  2. Scan: drop or choose the image, or click Start camera, allow access and hold the code inside the frame, 10-25 cm from the lens.
  3. Read the result: the format, the decoded content and checks such as a valid check digit appear below. Links are shown, never opened automatically.
  4. Keep scanning: the camera stays on, so you can scan a whole shelf of items in a row. Each new code is added to the history.
  5. Export: click Download CSV to save the list with date, time, format and content, or Copy all to paste the codes elsewhere.

Barcode formats at a glance

FormatTypeHoldsWhere you see it
UPC-A / UPC-E1D12 digits (UPC-E: compressed 8)Retail products in the US and Canada
EAN-13 / EAN-81D13 or 8 digitsRetail products worldwide; books (ISBN starts with 978 or 979)
Code 1281DAny ASCII text, compactShipping labels, GS1-128 logistics labels, inventory
Code 391DUppercase letters, digits, a few symbolsIndustry, ID badges, older inventory systems
ITF / ITF-141DEven number of digitsCartons and outer cases
Codabar1DDigits and a few symbolsLibraries, blood banks, older labels
QR Code2DUp to about 4,000 charactersLinks, Wi-Fi logins, payments, tickets
Data Matrix2DUp to about 2,300 characters, very smallElectronic parts, medicine packs, postage
PDF4172DUp to about 1,800 charactersBoarding passes, ID cards, shipping documents
Aztec2DUp to about 3,000 charactersTrain and airline tickets

How the EAN/UPC check digit works

The last digit of every EAN-13, EAN-8 and UPC-A code is calculated from the others, so a scanner can tell when a bar was misread. Starting from the digit next to the check digit and moving left, multiply the digits alternately by 3 and 1, add the results, and take the amount needed to reach the next multiple of 10.

Example for 4006381333931: from the right, 3·3 + 9·1 + 3·3 + 3·1 + 3·3 + 1·1 + 8·3 + 3·1 + 6·3 + 0·1 + 0·3 + 4·1 = 89. The next multiple of 10 is 90, so the check digit is 90 − 89 = 1. This scanner only reports EAN and UPC codes whose check digit is correct.

Tips for fast, reliable scans

  • Light and focus: scan in even light, avoid glare from shiny wrappers, and let the camera focus for a moment before moving.
  • Distance: small codes need the camera closer; if the image blurs, back off a little. Many laptop webcams cannot focus closer than about 30 cm, so hold small codes up to a phone camera instead.
  • Quiet zone: 1D barcodes need blank space on both sides. If a sticker or fold covers that margin, the code may not read.
  • Inventory runs: leave the camera on and scan items one after another. Repeated scans of the same code within 3 seconds are ignored; download the CSV when you are done.
  • Only need QR codes, with safety checks for links and Wi-Fi details? Use the QR Code Scanner. To make your own barcodes, try the Barcode Generator.

Frequently asked questions

Which barcode types can it read?

Common 1D barcodes (UPC-A, UPC-E, EAN-13, EAN-8, Code 128, Code 39, Code 93, Codabar, ITF, GS1 DataBar) and 2D codes (QR Code, Data Matrix, PDF417, Aztec). Most browsers use the open-source ZXing engine compiled to WebAssembly; browsers with a built-in barcode detector use that first. EAN-13, EAN-8 and UPC-A can also be read by a small built-in reader even when the engine cannot be loaded.

Can I scan a barcode from a picture instead of the camera?

Yes. Choose or drop a JPG, PNG or WEBP image, or paste a screenshot with Ctrl+V. The tool finds every code in the picture and outlines it. Use the full-resolution photo: small or blurry codes may not be readable.

Why does the camera not find my barcode?

Hold the code flat, fill about half the frame with it and keep it 10-25 cm away so the camera can focus. Avoid glare on shiny packaging, tilt slightly if there is a reflection, and use the flashlight in dim light. Long, thin barcodes read best when held horizontally.

Does it look up product names or prices?

No. The scanner reads the number or text stored in the code. A retail barcode (UPC or EAN) only contains a product number; names and prices live in each store's database, so no lookup is done and nothing is sent anywhere.

How do I export my scans to Excel?

Click Download CSV. The file has one row per scan with date, time, format, content and source, and opens directly in Excel, Google Sheets or Numbers. Codes are stored as text so leading zeros are kept when the file is opened as text.

Is the camera image or scan history uploaded?

No. Video frames and images are decoded on your device. The history is stored only in this browser's local storage until you clear it.

What is the difference between UPC and EAN?

UPC-A has 12 digits and is used mainly in the US and Canada; EAN-13 has 13 digits and is used worldwide. A UPC-A code is an EAN-13 with a leading 0, so scanners treat them as the same number. Both end with a check digit that catches most misreads.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

QR Code ScannerScan QR codes with your camera or from an image and safely read the link or text.Barcode GeneratorCreate Code 128, EAN-13, UPC-A, EAN-8, Code 39 and ITF-14 barcodes as PNG or SVG.Image to Text (OCR)Extract text from images, screenshots and photos with OCR in 25+ languages, right in your browser.Online Document ScannerTurn photos of paper into clean scans: auto edge detection, perspective fix, multi-page PDF.ISBN Barcode GeneratorTurn an ISBN-10 or ISBN-13 into a print-ready EAN-13 book barcode with price add-on. SVG/PNG/PDF.Meme GeneratorMake memes with classic templates and custom text.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.Certificate MakerDesign certificates from templates and export one or many as PDF.GIF MakerTurn videos and images into GIFs, trim and compress.Business Card MakerDesign business cards and download a print-ready PDF.Flyer MakerDesign printable and social media flyers from free templates.Poster MakerDesign posters in A0–A5 and US sizes and download a print-ready PDF.Invitation Card MakerCreate printable birthday, wedding and party invitations for free.Thumbnail Safe ZonePreview YouTube and TikTok thumbnail safe zones.Thumbnail MakerDesign 1280×720 YouTube thumbnails with templates, bold text and stickersWallpaper GeneratorCreate gradient and pattern wallpapers sized for any phone, tablet or desktopYouTube Thumbnail GrabberPaste a YouTube link to get every thumbnail size, from HD 1280x720 down to 120x90.CSS Gradient GeneratorDesign linear, radial and conic CSS gradients with draggable stops and export CSS or PNG.Chart MakerMake bar, line, area, pie and doughnut charts from a simple table and download PNG or SVG.Venn Diagram MakerMake 2- or 3-circle Venn diagrams from lists; overlaps are found for you. Export PNG or SVG.Mind Map MakerBuild mind maps fast with keyboard shortcuts and auto layout, then export PNG, SVG or JSON.Org Chart MakerType an indented list of names and titles and get a clean org chart to download as PNG or SVG.Timeline MakerCreate horizontal or vertical timelines from dated events with colors, then save PNG or SVG.Gantt Chart MakerPlan tasks with dates, progress and dependencies on a Gantt chart, then export PNG or CSV.Word Cloud GeneratorTurn any text into a word cloud in shapes like a heart or star, then save it as PNG or SVG.Pie Chart MakerMake pie and donut charts with labels, percentages and a legend, then download PNG or SVG.Favicon GeneratorMake a favicon.ico, PNG icons, apple-touch-icon and web manifest from an image, text or emoji.Passport Photo MakerMake passport and visa photos for any country and print them on a 4x6 sheet.Signature MakerDraw or type your signature and download it as a transparent PNG or SVG.Quote Image MakerTurn a quote into a shareable image for Instagram, Stories or X with backgrounds and fonts.Profile Picture MakerMake a round or square profile picture with a ring border and color or gradient background.Before and After Image MakerCombine two photos into a labeled before and after image or an animated slider video.Device Mockup GeneratorPut a screenshot into a phone, tablet, laptop, monitor or browser frame and download a PNG.Seamless Pattern GeneratorMake seamless dot, stripe, wave, grid, zigzag and check patterns. Export CSS, SVG or PNG.3D Text GeneratorRender extruded 3D text with depth, bevel, materials and rotation; export a transparent PNG.Album Cover MakerDesign 3000×3000 album and podcast cover art with photo filters and type presets.Animated Text GIF MakerCreate animated text GIFs with typing, blink, bounce, rainbow or scroll effects; GIF or WebM.App Icon GeneratorMake every iOS, Android adaptive, PWA and macOS app icon size from one image, as a ZIP.Gift Tag MakerDesign printable gift tags with holiday themes and to/from names, many per page with cut lines.Initials Avatar GeneratorCreate letter avatars from names: shapes, colors, fonts, bulk ZIP, PNG/SVG and data URIs.Instagram Story MakerDesign 1080×1920 Instagram stories with templates, photos, text, stickers and safe-zone guides.Label MakerDesign jar, address, shipping and product labels and print them on Avery-style sheets or PDF.Low Poly GeneratorTurn a photo or a random gradient into low-poly triangle art. Download PNG, JPG or SVG.Seamless Texture MakerMake any image tileable with offset blending, edge cross-fade or mirroring, with a tiled preview.Mesh Gradient GeneratorDrag color points to make smooth mesh and aurora gradients with grain, then export PNG or CSS.Motivational Poster MakerMake a classic black-border motivational or funny demotivational poster from your photo.Name Tag MakerMake printable name badges in bulk from a list of names, titles and companies as a PDF.Neon Text GeneratorMake glowing neon sign text on brick or dark walls, with flicker, and save it as PNG or GIF.Open Graph Image GeneratorDesign 1200x630 social share images with templates and live link previews, then export PNG.Paint by Numbers GeneratorTurn a photo into a numbered paint-by-numbers outline with a color palette and printable PDF.Pinterest Pin MakerDesign 1000×1500 Pinterest pins with templates, headline overlays, brand colors and a URL footer.Cover Photo MakerMake Facebook, LinkedIn, X and Twitch cover images at exact sizes with profile-photo guides.Sticker MakerTurn a photo into a die-cut sticker: remove the background, add a white outline and shadow.Twibbon MakerPut your photo behind a campaign frame PNG, drag and zoom to fit, download a square picture.Wanted Poster MakerMake an old-west wanted poster with your photo, name and reward on aged paper. PNG or PDF.YouTube Banner MakerDesign 2560×1440 YouTube channel art with safe-area guides, text, shapes and templates.Banner MakerDesign web ad banners, headers and printable vinyl banners with templates; PNG, JPG or PDF.Bulk QR Code GeneratorTurn a list or CSV of links into hundreds of QR codes: ZIP of PNG/SVG or a printable PDF sheet.Christmas Card MakerMake printable folded or 5×7 photo Christmas cards with festive templates, fonts and messages.Emoji MakerDesign your own custom emoji from faces, eyes, mouths and accessories, then save a transparent PNG.Floor Plan MakerDraw rooms, doors, windows and furniture to scale with live dimensions, then export PNG, SVG or PDF.Gift Certificate MakerDesign printable gift certificates and vouchers with amount, codes, expiry and your logo.Infographic MakerBuild a vertical infographic from templates with stats, charts, icons and steps; export PNG or PDF.Nutrition Facts Label GeneratorMake an FDA-style Nutrition Facts label with auto %DV and rounding; download PNG, SVG or PDF.QR Code Generator with LogoMake a custom QR code with your logo in the middle, styled dots, eyes, colors and gradient.T-Shirt Mockup GeneratorPut your design on a realistic front or back t-shirt mockup in any color and download a PNG.Tier List MakerRank images or text in S, A, B, C, D tiers by drag and drop, then save the tier list as a PNG.US Map MakerColor US states by hand or from CSV data, add a legend, labels and title; export PNG or SVG.
See all 142 Design & Graphics Makers →