Developers

How to add a QR code in Notion

To add a QR code in Notion, type /image on a page, choose Embed link, and paste https://qrcodesforever.com/qr.png?url= followed by your link. Notion shows the QR code as an image you can resize. It works on the free plan without any integration, and the code holds your link directly, so it never expires.

How to do it

  1. 1

    Build your image link

    Start with https://qrcodesforever.com/qr.png?url= and add your link, like https://qrcodesforever.com/qr.png?url=example.com. Or make the code in the generator and copy its image link.

  2. 2

    Add an image block

    On your Notion page, type /image and press Enter.

  3. 3

    Embed the link

    Choose Embed link, paste your image link and confirm. Notion loads the code from the link.

  4. 4

    Resize and test

    Drag the corners to resize it, then scan it with your phone to check it opens the right place.

Swap in your own details and paste one into an image block. The right-hand column is the exact text each code holds, generated by the same encoder that serves these links.

Image linkThe code contains
https://qrcodesforever.com/qr.png?url=example.comhttps://example.com
https://qrcodesforever.com/qr.png?ssid=Office%20Guest&password=welcome123WIFI:T:WPA;S:Office Guest;P:welcome123;;
https://qrcodesforever.com/qr.png?type=vcard&first=Sam&last=Lee&phone=%2B14155550123a vCard 3.0 for Sam Lee with mobile +14155550123
https://qrcodesforever.com/qr.png?q=Golden%20Gate%20Bridgea Google Maps search for Golden Gate Bridge
https://qrcodesforever.com/qr.png?email=team@example.com&subject=Hellomailto:team@example.com?subject=Hello

Write spaces as %20 and + as %2B. A + typed raw arrives as a space, so +1415… loses the plus that marks the country code. If your link contains & or #, make the code in the generator instead, which encodes it for you, and copy the image link it gives you. Every option is in the parameter reference.

Notion's help page on images lists both PNG and SVG as supported formats. The links above use PNG; add &size=1024 if the page will be printed.

A code for a Notion page

Click Share, copy the page link (or publish the page to the web), and use that link after ?url=. People who scan it need access to the page, so publish it if the code is for the public.

A code in each database row

Add a Files & media property. In each row, choose to embed a link and paste that row's image link. Notion has no formula that turns text into an image, so each link is pasted once per row. For more than a few dozen rows, a spreadsheet with an IMAGE formula (Google Sheets) is quicker, or the bulk generator for files to upload.

Dark mode

Keep the code dark on a white background even when the page uses Notion's dark theme. If you set colors with fg and bg, the modules still need to be darker than the background; a light code on a dark page fails on some phone scanners.

Notion image blocks can't be wrapped in a link the way HTML images can. Credit is optional; if you'd like to give it, add a text line under the image linking to https://qrcodesforever.com/. For the same thing on a website, see QR codes in WordPress.

Written by Last updated