QR Code Generator

Generate QR codes from any text, URL, email, or phone number instantly. Customize colors and size, then download your QR code image for free.

#000000
#ffffff
100px1000px

Your QR code will appear here

URLs, Plain Text, Email, Phone, and Wi-Fi QR Codes

QR codes are two-dimensional barcodes that store information in a grid of black and white squares. Unlike traditional barcodes that can only store numbers, QR codes can encode text, URLs, contact information, email addresses, phone numbers, and even WiFi login credentials. This makes them versatile tools for connecting physical materials to digital content. This generator supports all the most common QR code types and lets you download the result as a PNG or SVG file with no signup required.

How QR Codes Work

A QR (Quick Response) code works by encoding data into a matrix pattern that a camera or dedicated scanner can read optically. The pattern consists of finder patterns in three corners, alignment marks, timing patterns, and data modules. When a smartphone camera scans the code, the camera app decodes the pattern and returns the encoded content — opening a URL in the browser, composing an email, dialing a phone number, or connecting to a WiFi network. Error correction data is embedded in the code so it can still be read even if part of it is damaged or obscured. The level of error correction you choose determines how much of the code can be destroyed while still remaining scannable. For a more specialized generator, our Facebook QR code generator creates codes that link directly to Facebook profiles and pages.

Types of QR Code Content

Different content types produce QR codes with different behaviors when scanned. A URL QR code opens a website directly in the device browser — the most common use case for marketing and sharing links. A plain text QR code displays the text on screen without triggering any app action. An email QR code opens the device's mail client with the recipient address pre-filled. A phone number QR code initiates a call to that number. A WiFi QR code configures the device to connect to the specified network automatically, which is particularly useful for guest networks in businesses and hotels. Each type uses a standardized encoding format that all modern smartphone cameras understand without any additional app.

Customize Colors and Size Before Downloading

Standard black-and-white QR codes are functional but generic. This generator lets you customize the foreground and background colors to match your brand, choose the exact pixel dimensions for your use case, and set the error correction level to balance data capacity against physical resilience. All changes are applied before the QR code is generated, so what you download is exactly what you configured. For color inspiration that works well with your QR code design, our AI color palette generator can suggest coordinated brand colors.

How to Generate a QR Code in Four Steps

1

Select the Content Type

Choose URL, plain text, email, phone, or WiFi from the dropdown. The input fields adjust to match the selected type.

2

Enter Your Content

Type or paste the information you want to encode. For URLs, the https:// prefix is added automatically if you omit it.

3

Adjust Colors, Size, and Error Correction

Pick foreground and background colors, drag the size slider to your target dimensions, and choose an error correction level.

4

Generate and Download

Click Generate QR Code to create the code instantly in your browser. Download as PNG for digital use or SVG for print-ready scalable output.

Customization Options

The foreground color sets the dark modules of the QR pattern — the default is black (#000000), but any dark color that contrasts well against the background will work. The background color sets the light areas — white (#ffffff) by default. Avoid using colors with low contrast between foreground and background as scanners need a clear distinction to read the code reliably. The size slider lets you set the output from 100px to 1000px in 10px increments, giving you control over the resolution of your PNG download. The SVG download is always vector and scales to any size without quality loss. Error correction at Low (7%) stores more data in a smaller code, while High (30%) makes the code larger but lets it survive more physical damage — useful for codes that will be printed on surfaces that may wear or get dirty.

Printing QR Codes for Marketing and Events

Printed QR codes are a practical way to bridge offline materials — business cards, posters, product packaging, and event signage — with online content. Unlike typed URLs, a QR code eliminates the risk of transcription errors and reduces friction for the user, who simply points their camera at the code. For any printed application, download the SVG format from this tool for resolution-independent output, and test the printed result at actual size before committing to a print run.

Sharing Website URLs

URL QR codes are the most widely used type. Paste any webpage address into the URL field and the generator encodes it into a scannable code. This is useful for linking printed materials to landing pages, product pages, social media profiles, video content, or digital menus. If you are generating QR codes to drive traffic to content, make sure the destination page is mobile-optimized, as most scans happen on smartphones. For directing users specifically to your Facebook page, our Facebook QR code generator creates a dedicated code for that purpose.

Business Cards and Marketing

Business cards are one of the most popular places to print QR codes. A URL code linking to your website or LinkedIn profile lets recipients learn more about you with a single scan. An email code opens a pre-addressed email so the recipient can contact you immediately. For business card printing, use a size of at least 200px at 300 DPI, which corresponds to roughly 17mm at print resolution — large enough to scan reliably. Use the High error correction setting for business card QR codes, since the code surface may accumulate minor scratches over time. For help crafting the email content that recipients will reach after scanning, our email writer generator can help draft professional messages.

WiFi Network Sharing

WiFi QR codes let guests connect to your network by scanning a code instead of manually entering the SSID and password. This is particularly useful in cafes, hotels, offices, and event venues. Select the WiFi credentials option, enter the network name and password, choose the correct encryption type (WPA2 is the most common for modern routers), and generate the code. When a guest scans it with their smartphone camera, the device prompts them to join the network automatically. Print the code and display it prominently at the counter, on tables, or in welcome materials. Use the High error correction level for printed WiFi codes as they are often placed in high-traffic areas where surfaces can become dirty or worn.

Scanning Compatibility Across Devices

QR codes generated with standard encoding are compatible with all modern smartphones. iOS 11 and later include native QR code scanning in the Camera app. Android devices running Android 9 and later also include native scanning in the Camera app, and earlier Android versions support scanning through Google Lens. No additional QR code reader app is required for standard QR codes. Some older or budget Android devices may require a third-party scanner, but this is increasingly rare. The codes produced by this generator follow the ISO/IEC 18004 standard to ensure maximum compatibility.

URL QR Code

A URL QR code contains a web address that the camera app recognizes and opens in the default browser. On iPhone, a tap notification appears at the top of the screen showing the domain. On Android, a similar prompt appears in the viewfinder. The user taps the notification to open the link. Because the browser opens the URL directly, the destination page should load correctly on mobile screen sizes. Short URLs encode more compactly than long ones, resulting in a simpler QR pattern that is easier to scan. If your URL is very long, consider using a URL shortener before encoding it to keep the code less dense.

WiFi Login QR Code

A WiFi QR code uses a format recognized by the camera apps on both iOS and Android to trigger an automatic network join prompt. On iPhone, a "Join Network" notification appears. On Android, the device prompts to connect to the network. The password is stored inside the code but is not displayed to the user scanning it — it is passed directly to the device's network settings. This makes it secure enough for a shared guest network, though you should still use a separate guest SSID rather than your main network password. WPA/WPA2 is the standard encryption for most modern WiFi networks and should be selected unless your router specifically uses WEP or has no password.

Custom Colored QR Code

Custom colored QR codes use any foreground color against any background color, provided there is sufficient contrast for scanners to read the module pattern. Dark foreground on light background works reliably. Light foreground on dark background also works but is less common. Avoid using very similar shades for the two colors, and test the custom code on multiple devices before printing in quantity. Colors that work well in digital preview can sometimes lose contrast when printed on matte paper under artificial lighting. The SVG download maintains exact color values, making it the preferred format for print production. All customization happens entirely in your browser — no data is sent to any server.

FAQ

What can I encode in a QR code?

This generator supports URLs, plain text, email addresses, phone numbers, and WiFi credentials. URLs are the most common use case and open in the device browser when scanned. Plain text displays the text content on screen. Email codes open the mail client pre-addressed. Phone codes initiate a call. WiFi codes connect the device to the specified network automatically.

What is error correction level?

Error correction adds redundant data to the QR code so it remains readable even if part of the code is damaged, dirty, or obscured. Low (L) allows 7% of the code to be unreadable, Medium (M) allows 15%, Quartile (Q) allows 25%, and High (H) allows 30%. Higher error correction produces a more complex pattern with more modules, which may be harder to scan at very small sizes. Use High for printed codes that will experience physical wear and Low for digital-only codes or when the content is very long.

Can I customize the colors?

Yes. Use the foreground color picker to change the dark module color from the default black, and the background color picker to change the light area color from the default white. Any color combination works as long as there is sufficient contrast between foreground and background. Low-contrast color pairs reduce scanning reliability and should be avoided. Test any custom color QR code on at least two different devices before deploying it.

What size should I use for printing?

For business cards, generate at 400px or higher and print at a minimum of 2cm × 2cm at 300 DPI. For A5 and A4 flyers, 600px to 800px works well. For large-format banners and posters, use the SVG download instead, as it scales to any size without losing quality. A general rule: the QR code should be at least one tenth the distance from which it will be scanned. A code on a poster viewed from 2 meters should be at least 20cm on the printed page.

Do QR codes expire?

Static QR codes generated by this tool do not expire. The encoded information is baked into the pattern permanently. However, if the content you encoded — such as a URL — changes or becomes unavailable, the QR code will no longer lead to valid content. For URLs that may change, some services offer dynamic QR codes that redirect through a short URL you can update. This tool generates static codes only.

Can I download as SVG?

Yes. After generating a QR code, both PNG and SVG download options are available. SVG is a vector format that scales to any size without pixelation, making it the preferred choice for print production. Open the SVG in any vector editor such as Inkscape or Adobe Illustrator to embed it in a larger design. PNG is better for digital use where fixed pixel dimensions are needed, such as embedding in a website or presentation.

What is qr to text?

QR to text refers to the process of scanning a QR code and reading the text it contains. When you scan a plain text QR code with a smartphone camera, the device displays the encoded text directly on screen without opening any app or taking any action. This is useful for encoding short messages, reference codes, or instructions that the reader should see. This generator supports plain text encoding — select "Plain text" from the content type dropdown and enter the text you want to encode.

What is qr code generator line?

QR code generator line typically refers to QR codes used with the LINE messaging app, which is widely used in Asia. LINE QR codes allow users to add friends or join group chats by scanning a code. While this generator does not produce LINE-specific codes, you can encode a LINE profile URL or deep link in a standard URL QR code and it will work the same way — scanning it opens LINE on the device if installed, or the LINE web page otherwise.

Related Tools