Outils de Codes-barres & QR

Générez gratuitement en ligne des codes-barres personnalisés (Code128, EAN, UPC) et des codes QR avec logos. Scannez n'importe quel code avec votre appareil photo ou à partir d'une image. 100% privé, aucun téléversement requis.

Publicité
Publicité

A barcode generator and scanner creates 1D barcodes (Code 128, EAN-13, UPC-A) and 2D codes (QR codes, Data Matrix) from text input, and also decodes barcodes from camera or uploaded images using the Barcode Detection API. This dual-function tool handles both encoding and decoding entirely in your browser, with no data transmitted to any server.

Générez et scannez des codes-barres sans rien téléverser

Create QR codes with logos, product barcodes (Code128, EAN, UPC), and scan from camera or image — all processed locally in your browser.

QR & barcodes
Scan par caméra
Gratuit illimité

Comment l'utiliser

  1. 1

    Choisir le Mode

    Sélectionnez 'Générer' pour créer un nouveau code ou 'Scanner' pour en lire un existant.

  2. 2

    Générer

    Sélectionnez le format (Code-barres/QR), entrez les données, et ajoutez optionnellement un logo. Cliquez sur Télécharger pour enregistrer.

  3. 3

    Scanner

    Téléversez une image contenant un code ou utilisez votre webcam pour un scan en temps réel.

Publicité

Comprendre les Codes-Barres et les Codes QR

1D barcodes vs. 2D codes

1D barcodes (linear barcodes) encode data in the widths of parallel black and white bars. They're used for retail products (UPC-A, EAN-13), shipping labels (Code 128), and library books (Code 39). 1D barcodes can only encode a small amount of data (typically 8-20 characters) and must be scanned with a laser or linear imager. The encoding algorithm converts each character into a specific pattern of bars and spaces -- for example, Code 128 uses 11 modules per character, with each module being either a black bar or a white space.

2D codes (matrix codes) encode data in a two-dimensional grid of black and white squares. QR codes (Quick Response) are the most common 2D code, capable of storing up to 7,089 numeric characters or 4,296 alphanumeric characters. They include error correction (Reed-Solomon) that allows the code to be read even if partially damaged or obscured -- up to 30% of the code can be damaged and still be readable. QR codes are used for URLs, contact information (vCard), WiFi credentials, payment links, and boarding passes.

The choice between 1D and 2D depends on the use case. For retail products with simple numeric identifiers, UPC-A or EAN-13 is standard. For shipping and logistics, Code 128 is preferred because it can encode alphanumeric data. For marketing, payments, and information sharing, QR codes are the best choice because they can encode URLs, text, and structured data that smartphones can interpret directly.

Publicité

Comment fonctionnent la génération et le scan de codes-barres

Barcode generation converts input data into a visual pattern. For QR codes, the process involves: encoding the data into a bit stream, adding error correction codes using Reed-Solomon, arranging the bits into a matrix, applying masking patterns to ensure readability, and adding position, alignment, and timing patterns. The resulting matrix is rendered as black and white squares on a canvas. The canvas can then be exported as PNG for download.

Barcode scanning (decoding) reverses this process. The Barcode Detection API (available in Chrome, Edge, and Opera) uses the device's camera or an uploaded image to detect and decode barcodes. It analyzes the image to find the barcode's position, then reads the pattern of bars/squares and decodes the data. For camera-based scanning, the API continuously processes video frames from the getUserMedia stream, detecting barcodes in real time. The API supports multiple barcode formats simultaneously -- it can detect both a 1D barcode and a QR code in the same frame.

Publicité

Pourquoi Choisir Notre Outil en Ligne Gratuit ?

Confidentialité Absolue

Contrairement à d'autres outils en ligne, nous traitons tout directement dans votre navigateur. Vos données, images et flux de caméra ne sont jamais téléversés sur nos serveurs.

Vitesse Fulgurante

Comme il n'y a pas de téléversement ni de traitement côté serveur, la génération et le scan se font instantanément.

Puissant et Polyvalent

Des codes-barres de produits comme UPC et EAN aux codes QR de marque avec le logo de votre entreprise, notre outil gère une large gamme de formats.

Entièrement Gratuit

Pas d'abonnements, pas de filigranes, pas d'inscriptions. Toutes les fonctionnalités sont disponibles gratuitement, pour toujours.

Comment cela se compare-t-il aux autres outils de codes-barres ?

A side-by-side comparison of popular barcode generation tools.

FonctionnalitéNovaToolsQRCode MonkeyThe-qrcode-generator.com
Génération + Scan dans un seul outilOUI Les deuxN Génération uniquementN Génération uniquement
QR + Code 128 + EAN-13OUI Formats multiplesOUI QR uniquementOUI QR uniquement
Scan par caméraOUI API Barcode DetectionNN
Scan par téléversement d'imageOUINN
Confidentialité (sans serveur)OUI 100% localN Côté serveurN Côté serveur
Couleurs QR personnalisablesOUIOUILimité

Our tool combines generation and scanning in a single client-side application. Most online tools are either generators or scanners, and server-based ones process your data on their servers. Our tool handles everything in your browser using the Barcode Detection API and canvas rendering.

Questions fréquentes

Cet outil est-il gratuit ?
Oui, cet outil est 100% gratuit. Il n'y a aucune limite, aucun filigrane, ni aucune exigence d'inscription.
Mes fichiers ou mon flux de caméra sont-ils téléversés sur un serveur ?
Non. Tous les processus de génération et de scan se déroulent localement dans votre navigateur web. Vos données, vos fichiers et votre flux de caméra ne quittent jamais votre appareil, garantissant une confidentialité totale.
Quels formats de codes-barres sont pris en charge ?
Le générateur prend en charge de nombreux formats courants, notamment CODE128, CODE39, EAN-13, UPC, et plus encore. Le scanner peut lire la plupart des formats de codes-barres et de codes QR standards.
Puis-je ajouter un logo à mon code QR ?
Yes. The tool lets you upload a logo image (PNG, JPG, or SVG) and place it in the center of your QR code. The tool automatically adjusts the error correction level to 'H' (30% recovery) to ensure the code remains scannable even with the logo obscuring the center. For best results, use a square logo with a transparent background (PNG or SVG), and keep the logo size to no more than 20-25% of the QR code's total area. The tool will render the logo at the correct resolution and blend it with the QR code pattern. The final output can be downloaded as a PNG or SVG file.
Comment scanner un code QR ou un code-barres ?
L'outil propose deux modes de scan. En mode 'Caméra', l'outil accède à la caméra de votre appareil (avec votre autorisation) et scanne en continu le flux vidéo en direct pour détecter des codes. Lorsqu'un code est détecté, l'outil affiche les données décodées et arrête le scan. En mode 'Image', vous pouvez téléverser un fichier image contenant un code-barres ou un QR code, et l'outil le scannera localement. Le mode caméra fonctionne le mieux dans des environnements bien éclairés avec le code tenu immobile à environ 15-30 cm de la caméra. Le mode image fonctionne bien pour les captures d'écran, les photos d'emballages de produits ou les documents numérisés.
Quelle taille mon code QR devrait-il avoir ?
The minimum recommended size for a QR code is 2x2 cm (0.8x0.8 inches) for reliable scanning at close range. For every 10 cm (4 inches) of scanning distance, add 1 mm (0.04 inches) to the QR code size. For example, a QR code that will be scanned from 1 meter away should be at least 12x12 cm (4.7x4.7 inches). The tool lets you specify the output resolution in pixels — we recommend at least 300x300 pixels for print use and 500x500 pixels for digital use. For SVG output, the code can be scaled to any size without quality loss, making it ideal for large format printing.
Qu'est-ce que la correction d'erreur de code QR et pourquoi est-ce important ?
QR codes use Reed-Solomon error correction to remain readable even when part of the code is damaged, dirty, or obscured (e.g., by a logo). There are four levels: L (7% recovery), M (15% recovery), Q (25% recovery), and H (30% recovery). Higher error correction levels make the code more durable but increase its density (more modules). For most use cases, level M (15%) is a good balance. Use level H (30%) when adding a logo to the center of the code, when the code will be printed on rough surfaces, or when it may be exposed to wear and tear. Use level L (7%) only when the code will be displayed digitally and size is a concern.
Can I use the generated codes commercially?
Yes. The barcodes and QR codes generated by this tool are free to use for any purpose, including commercial use. There are no licensing fees, no attribution requirements, and no restrictions on how you use the output. The QR code specification is an open ISO standard (ISO/IEC 18004), and the barcode specifications are similarly open standards. The tool does not add any watermarks, tracking pixels, or identifying information to the generated codes. You own the output files completely.

Votre confidentialité est notre priorité

Cet outil fonctionne entièrement dans votre navigateur. Vos fichiers ne sont ni téléversés, ni stockés, ni analysés.

  • Nous ne téléversons, ne stockons ni n'analysons vos fichiers.
  • Tout ce que vous traitez reste sur votre appareil.
  • Il n'y a pas de traitement côté serveur, ni de stockage cloud, ni d'analyse.

Même si votre connexion internet tombe, vos fichiers restent en sécurité.

Vous pourriez aussi aimer

Guides utiles

Publicité