QR codes

How to Create a QR Code for a PDF, Form, or WiFi

Learn how to create a QR code for a PDF document, Google Form, or WiFi network — with step-by-step instructions, best practices, and free tools to get started.

The fewly teamJuly 15, 2026 12 min read
How to Create a QR Code for a PDF, Form, or WiFi

How to Create a QR Code for a PDF, Form, or WiFi

A QR code for a PDF is a scannable image that takes anyone who points their phone camera at it directly to your document — no typing, no hunting through links, no friction. The same logic applies to online forms and WiFi networks: QR codes turn something that used to require manual input into a single, instant scan. This guide walks you through exactly how to create one for each use case, what makes a good QR code, and how to avoid common mistakes.


A smartphone scanning a QR code printed on a physical document at a desk

Why QR Codes for Documents and Data Still Matter

Before diving into steps, it's worth being clear about why this matters in practice. QR codes have had a revival — restaurants, event organizers, recruiters, and marketers now rely on them daily. But a lot of people still create them wrong: they link directly to a file that breaks when it moves, they use low-resolution outputs that don't scan reliably, or they skip tracking entirely.

The underlying value is simple: you have something digital — a PDF menu, a feedback form, a WiFi password — and you want to share it with people who are standing in front of you, looking at a poster, or holding a product. A QR code bridges physical and digital without requiring the user to type anything.


How to Create a QR Code for a PDF

Step 1: Host your PDF online

A QR code doesn't store a PDF file — it stores a URL. That means your PDF needs to be accessible at a stable web address before you can create a QR code for it.

Your options for hosting:

  • Google Drive: Upload the file, set sharing to "Anyone with the link," then copy the shareable link.
  • Dropbox: Upload, click "Share," and grab the direct link (change ?dl=0 to ?dl=1 if you want it to download rather than preview).
  • Your own website or CDN: If you manage a site, upload the PDF to your server or a bucket (e.g., AWS S3, Cloudflare R2) and use that URL.
  • Notion or Confluence: Publish the page publicly and link to it.

The most important thing at this stage: make sure the URL won't change. If you're using Google Drive and your organization changes its sharing settings, or if you move the file, your QR code breaks for everyone who has already printed or published it.

Pro tip: Rather than linking directly to the raw file URL — which tends to be long, ugly, and fragile — create a short branded link first. Use fewly's free QR code generator to shorten the PDF URL and generate the QR code in one step. This way, if you ever need to update the PDF, you just update the destination of the short link — the QR code itself stays the same.

Step 2: Generate the QR code

Once you have a URL for your PDF, go to a QR code generator. With fewly:

  1. Visit fewly's QR code generator.
  2. Paste your PDF URL into the input field.
  3. Customize the QR code if needed (color, size, logo).
  4. Download in SVG or PNG format.

That's the core process. What separates a good workflow from a fragile one is whether the underlying link is managed — more on that below.

Step 3: Test before printing

Before you put a QR code on anything physical — printed handouts, signage, packaging — scan it with at least two different phones and on a standard camera app (not a third-party scanner). Verify it goes to the right file and that the file loads correctly.

This is the step most people skip, and it's the one that causes embarrassing broken QR codes at events.


How to Create a QR Code for a Google Form (or Any Online Form)

Online forms — Google Forms, Typeform, Jotform, Microsoft Forms, Tally — already have a public URL the moment you publish them. That makes QR code creation straightforward.

Getting the form URL

  • Google Forms: Open your form, click "Send," then click the link icon. Copy the URL. Optionally, Google provides a "Shorten URL" option, but their short links don't give you click analytics or the ability to redirect later.
  • Typeform / Jotform / Tally: Each publishes a shareable link from the Share settings. Copy it.

Generating the QR code

Same process as the PDF case:

  1. Shorten and brand your form URL using a link management tool.
  2. Feed that shortened URL into the QR code generator.
  3. Download and test.

Common use cases for form QR codes

Use case What to link
Event registration The RSVP or signup form
Customer feedback Post-purchase satisfaction survey
Job application Application form on your careers page
Contest entry Entry form URL
Waitlist signup Your signup form

For forms, real-time analytics matter. If you've placed a QR code on a flyer and want to know how many scans converted, use a trackable link behind the QR code — that way you get scan counts, geographic data, and time-of-day patterns without any changes to the form itself.


How to Create a QR Code for WiFi

WiFi QR codes work differently from document or URL QR codes. Instead of encoding a web address, they encode a special text string that tells a smartphone to join a network automatically. Most modern smartphones (iOS 11+, Android 10+) can parse these natively.

The WiFi QR code format

The string that gets encoded looks like this:

WIFI:T:WPA;S:YourNetworkName;P:YourPassword;H:false;;

Breaking it down:

  • T:WPA — the security type. Use WPA for WPA/WPA2/WPA3, WEP for older WEP networks, or leave blank for open networks.
  • S:YourNetworkName — the SSID (your WiFi network name, exactly as it appears).
  • P:YourPassword — the password, exactly as typed, case-sensitive.
  • H:false — whether the network is hidden. Set to true only for hidden SSIDs.

Generating a WiFi QR code

Most general QR code generators support WiFi as a dedicated input type. You select "WiFi" from the content type menu, fill in the SSID, password, and security type, and the generator handles encoding the string correctly.

Steps:

  1. Open a QR code generator that supports WiFi type (fewly's QR code generator handles this).
  2. Select "WiFi" as the content type.
  3. Enter your network name (SSID), password, and security type.
  4. Generate, download, and test.

What to do with a WiFi QR code

Print it and frame it for:

  • Coffee shops and restaurants ("Scan to join our WiFi — no password typing required")
  • Offices and coworking spaces (place near the front desk)
  • Airbnbs and hotel rooms
  • Conference rooms

A note on security: Your WiFi password is embedded directly in the QR code. Anyone who scans it or who has a copy of the image can read the password using a QR decoder. Don't post your WiFi QR code publicly on social media or in places where you don't want strangers connecting. For public venues, use a guest network with a separate password.


Choosing the Right Format and Size

File format

  • SVG: Best for print. Vector format means it scales to any size without pixelation. Use this for posters, signage, or business cards.
  • PNG: Fine for digital use (websites, email, slide decks) and small print runs. Make sure the resolution is at least 300 DPI for print.
  • JPEG: Avoid for QR codes. The compression introduces artifacts that can make codes unscannable.

Minimum print size

The general rule is that a QR code should be at least 2 cm × 2 cm (about 0.8 inches) when printed. For anything farther than arm's length — a poster on a wall, a sign at a booth — scale it up proportionally. A QR code on an A4 poster viewed from a meter away should be at least 5 cm × 5 cm.

Error correction

QR codes have a built-in error correction level. Higher error correction means the code can still be scanned even if part of it is damaged or obscured — useful if you're adding a logo in the center. Most generators let you choose:

  • L (Low): 7% data recovery. Smallest file, most data dense.
  • M (Medium): 15%. Good for most uses.
  • Q (Quartile): 25%. Recommended if adding a logo overlay.
  • H (High): 30%. Most robust; use when durability matters (outdoor signage, product labels).

Static vs. Dynamic QR Codes: Which Should You Use?

This distinction matters more than most people realize.

Static QR codes encode the destination directly and permanently. If the URL changes, you have to generate and redistribute a new QR code. Once printed, you're locked in.

Dynamic QR codes encode a short redirect URL. The actual destination is stored on a server and can be updated at any time without changing the QR code image. They also come with built-in analytics — scan counts, device types, locations.

When to use each

Scenario Best choice
Quick one-off project, no analytics needed Static
Printed materials (menus, brochures, signs) Dynamic — you can update the destination
Marketing campaigns where you need scan data Dynamic
WiFi QR codes Static (data is self-contained)
Trade show or event materials Dynamic — update the link post-event
Product packaging Dynamic — swap the destination without reprinting

For almost any professional use case, dynamic is the right answer. With fewly, every shortened link becomes a dynamic QR code by default — change the destination any time from your dashboard.


Common Mistakes to Avoid

Linking directly to the raw file URL. Raw Google Drive or Dropbox links are long, unstable, and tied to specific account permissions. A broken sharing setting breaks every QR code that points to it. Always use a managed short link as the QR code destination.

Not testing on multiple devices. Different phones and camera apps handle QR codes differently. Test on at least an iPhone and an Android before finalizing anything.

Low contrast. A QR code needs high contrast to be reliably scanned. Dark module on light background is the standard. Avoid pastel-on-pastel, very dark backgrounds with dark modules, or heavy use of color gradients across the code.

Printing too small. See the sizing guidance above. When in doubt, make it bigger.

Forgetting to add a call to action. A QR code on its own gives no context. Add a brief text label: "Scan to download our guide," "Scan to join our WiFi," or "Scan to register."

Not tracking performance. If you have QR codes in the wild and no analytics, you have no idea whether they're working. Use trackable links with analytics so you can measure what's actually happening.


How fewly Handles All Three Use Cases

fewly's QR code generator is built for exactly this workflow:

  1. You paste a URL (for PDF or form) or enter WiFi credentials.
  2. fewly generates a QR code backed by a short, branded link.
  3. You download it in SVG or PNG at your chosen size.
  4. From your dashboard, you can update the destination at any time, monitor scan counts, and see where in the world your codes are being scanned.

All of this is available on the free plan. Branded custom domains and advanced analytics come with Pro and Team plans — useful if you're running this across an organization or for multiple clients.


Frequently Asked Questions

Can I create a QR code for a PDF for free?

Yes. You need to host the PDF at a public URL first (Google Drive, Dropbox, or your own server), then use a free QR code generator to encode that URL. fewly's QR code generator is free and creates both the short link and the QR code in one step.

What happens if I change the PDF after printing the QR code?

If you used a static QR code pointing directly to the file URL, you would need to reprint the code with the new URL. If you used a dynamic QR code (backed by a short link), you simply update the destination in your link dashboard — the printed QR code keeps working without any changes.

Are WiFi QR codes secure?

The password is encoded in plain text in the QR code image. Anyone who decodes the image can read the password. For public spaces, use a separate guest network rather than your main network password, and change the password periodically.

How do I make my QR code scannable at a distance?

Increase the physical print size and ensure strong contrast (black on white is most reliable). As a rule of thumb, the minimum size of the QR code should be 1/10th of the viewing distance — so a sign viewed from 3 meters should have a QR code at least 30 cm wide. The QR code standard ISO/IEC 18004 provides detailed technical specifications for print requirements.

Can I add a logo to a QR code?

Yes — most QR code generators let you overlay a logo image in the center. Set the error correction level to Q or H so the code remains scannable even with part of the center obscured. Keep the logo to no more than 30% of the total QR code area.

Do QR codes expire?

Static QR codes never expire — they encode data directly and work as long as the destination URL is live. Dynamic QR codes depend on the link management service staying active. With fewly, your links remain active as long as your account is in good standing.


Start Creating QR Codes Today

Whether you need a QR code for a PDF brochure, a Google Form for event signage, or a WiFi code for your café — the process is faster than most people expect. The key is setting it up correctly from the start: host the content at a stable URL, use a dynamic short link as the QR code destination, and test before you print.

Start free with fewly and create your first QR code in under two minutes. No account required to generate — but sign up to unlock link editing, scan analytics, and branded domains.

Share

Put these tips to work

Create a free fewly account and start shortening, branding, and tracking your links.