Forum Discussion
Need help to turn a link into a QR code for free
On Linux, macOS, or Windows WSL, start with qrencode. Currently it's the simplest and most widely used
link to qr code generator.
If you're running Windows 10 or 11, you likely have winget pre-installed. This is the simplest way to get qrencode on your system.
Open Command Prompt or PowerShell and run:
winget install --id=PedroAlbanese.QREncode -eThis installs a Windows port of qrencode that can encode strings into QR codes and save them as PNG images.
Once installed, you can use it similarly to the Linux version.
Create a QR code from link as a PNG file:
qrencode -o qr.png "your link"Common options:
-o <filename> — Output file name (PNG format)
-s <size> — Module size in pixels (default: 3)
-t UTF8 — Output as text in the terminal (great for testing)
-l <level> — Error correction: L, M, Q, H (default: M)
qrencode is the most widely used command-line link to qr code generator. It's available in most Linux package managers and works on macOS via Homebrew.