Adding a QR code to WordPress doesn't need a plugin. It depends on what you want: a code on a page that people scan from their screen, a printed code that opens your site, or a generator your visitors can use. Here are all three.
Option 1: Show a QR Code on a Page or Post
- Make the code in a QR code generator (a link, Wi-Fi, vCard, UPI, Google review…) and download it as PNG.
- In the WordPress editor, add an Image block and upload the PNG.
- Set the alt text to what the code does, for example “QR code to join our guest Wi-Fi”, so screen readers can describe it.
Use PNG rather than SVG: WordPress blocks SVG uploads by default for security reasons. Show the code at least 150 px wide so phones can read it from a laptop screen.
Option 2: A QR Code That Opens Your Site
For flyers, business cards and shop windows, make a code for your homepage or a specific page with the URL QR code generator. Point it at a page you’ll keep, such as yoursite.com/menu or yoursite.com/contact, not a post URL that might change. If you change permalinks later, add a redirect from the old address so printed codes keep working.
Option 3: Let Visitors Make Their Own QR Codes
Embed the free QR code generator widget: add a Custom HTML block and paste the embed code from that page. Visitors can type a link or text and download a QR code, all in their browser. The widget sets no cookies and needs no plugin or account.
Do You Need a QR Code Plugin?
Usually not. Plugins are useful if you want a code generated automatically for every post or product. For a handful of codes, uploading an image is simpler, and it avoids another plugin to update. Some plugins create dynamic codes through a third-party service, which can stop working if that service changes; a static image never does.
Common Questions
How do I add a QR code to WordPress without a plugin?
Make the code with a free generator, download it as PNG, and upload it in an Image block. To give visitors a generator, paste an embed code into a Custom HTML block.
Can I upload an SVG QR code to WordPress?
Not by default, because WordPress blocks SVG uploads. Use the PNG download instead, or a plugin that safely enables SVG.
Will my QR code break if I change my WordPress permalinks?
It can, if the code points at the old address. Add a redirect from the old URL to the new one, or point codes at stable pages such as your homepage.
Try it now
Free, no signup, and what you type stays on your device.
Get the QR code widget