Possible to create a qr code for a website which is not live yet?

I’m launching a new product, and while the website for it is still under development, I need a QR code for the packaging right away. I already know the final domain name for the site, so can I generate a QR code linking to it now, even though the link is currently inactive? Will it function correctly once the website is live?

Yes, that shouldn’t be a problem if you are aware of the final URL. The QR Code will redirect to your URL, and a 404 page will show up at the start, once the URL is live, your website will show up.

If you don’t want a 404 page to show up, you can use a dynamic QR Code and change the URL whenever you want to.