Create a free QR code and save it as SVG
You don't need to sign up to create a QR code. You can download it as an SVG file. Check where it points before sharing.

In short
- Go to the Single URL (opens in a new tab) generator, paste the full address, choose Generate QR code. Click on Download QR (SVG).
- In this test adfreeqr's SVG has the QR pattern that encodes https://example.com/ (opens in a new tab) directly.
- When you've downloaded the SVG, load it in another QR code reader. Compare what it reads to the address you provided before sharing.
We looked up the URL (which was encoded in the downloaded SVG). The macOS reader copied the SVG to a PNG. We didn't test using the generator's PNG download or phone scan or print the code.
1. Enter the page you want people to open
- Load up the page you want to share. Copy the full address.
- Load up adfreeqr generator (opens in a new tab) and make sure it is set to Single URL.
- In Destination URL, paste the address you copied. (It should begin with https://.) Verify that the spelling is correct, also any additional text after the domain.
(For testing, use https://example.com/ (opens in a new tab). Change it to the public page you want to share when you are ready to generate the final code. Choose a public link that the people you want to share it with can access. It may not work if it is a signed in dashboard page, just for you.)
Watch out
A QR code allows anyone scanning the code to read the contents. Don't include any passwords, private invite links, account recovery links, etc in the code if you're planning to share it.
2. Generate a simple code
- For your first QR code choose black dots on white background. Don't put any logo.
- Choose Generate QR code.
- Double check that the preview's destination address matches what you entered.
We used those as default color. No logo. A proper looking preview doesn't guarantee that you'll get the same file when you download.
3. Save the SVG and reopen it
- Choose "Download QR (SVG)"
- Look in your browser downloads (or your Downloads folder) for the .svg file that's just been downloaded.
- Open the downloaded file and see if the whole symbol + the white border around it is there. If you can't open SVG in your usual image application, open it in your web browser instead.
SVG is a vector image - it can be scaled without the shapes being converted to a low resolution bitmap. (Assuming your design app or print service will take SVG. Don't try changing the file extension to .png to do the conversion!)
Watch out
When you include a code, don't forget to leave space around it. DENSO WAVE requires a margin of at least four small QR squares wide all around. Never trim this margin or overlap it with a border or text. (See DENSO WAVE margin guidelines (opens in a new tab).)
4. Check the destination before sharing
Here's an image with the actual code we saved and the text it decoded to independently. (We used https://example.com/ (opens in a new tab) as both the address we typed and the encoded address).
Use a QR reader that provides a full web address (decoded) before opening it. Then, compare the full address (including path and query string) with what you want to go to. Just a domain preview won't be sufficient. Also, don't open something you don't recognize just to see where it goes.
On Mac with Swift installed, save this script as read-qr.sh in the same folder as the downloaded SVG. Use Terminal and cd to that folder. For the example command, change 'example code.svg' to your actual SVG filename. Use quotes.
set -esvg="$1"png="${svg%.svg}-reader-copy.png"if [ -e "$png" ]; then printf '%s\n' "Output already exists: $png" >&2 exit 1fisips -s format png "$svg" --out "$png" >/dev/nullswift - "$png" <<'SWIFT'import Foundationimport Vision
let image = URL(fileURLWithPath: CommandLine.arguments[1])let request = VNDetectBarcodesRequest()request.symbologies = [.qr]try VNImageRequestHandler(url: image).perform([request])let payloads = (request.results ?? []).compactMap { $0.payloadStringValue }guard payloads.count == 1 else { FileHandle.standardError.write(Data("Expected exactly one readable QR code.\n".utf8)) exit(1)}print(payloads[0])SWIFT
sh read-qr.sh "example code.svg"
Once you verify that the address decodes correctly, go straight to your target page. See that it loads the page you expect. If you want to print, print at final size as a proof. Test on the kind of phones you expect people to use. Ensure the final look, including colours, border, etc.
According to the provider, the Single URL code includes your provided address directly (this has been verified for our example). Editing the address for the stored code requires a new code. If the page at the original address is under your control, you can edit the page's content there. However, the destination can go missing or change into a redirect later on. See the provider's FAQ (opens in a new tab).
The single URL code in this guide is a static code and embeds your target address in the QR code pattern. It's independent of the trial period of the generator. But you still need to have the target page available.
The dynamic codes are based on a redirect which is controlled by the service. For instance, QR Code Generator's trial policy (opens in a new tab) indicates that they will deactivate the dynamic codes after the trial. The static codes are still working. Review the trial and cancellation policies for any provider before ordering the print copies. You can't update an already printed code by generating a new image.
If the code will not scan or opens the wrong page
- If the code goes to an incorrect page, you can update the Destination URL. You'll need to create and download new code. Then just update the image in your design with the new one.
- If your QR code isn't scanning, try black on white. Get rid of the logo. Make sure there's a nice white space all around it. Once you're in the final layout, blow the code up. Try to scan it again.
- If the address on the qr code is correct but you can't get the page to load, go to the address manually. Make sure you've corrected the page or the page access before you post the code.
- If your design app can't open SVG, what file types does it support? We just made a PNG copy with the macOS script above so that we could read the QR code. We only looked at the address it decoded from that PNG. No testing of the provider PNG export or printing quality was done.
Sources: adfreeqr generator (opens in a new tab), adfreeqr FAQ (opens in a new tab), DENSO WAVE's QR margin guidance (opens in a new tab).
QR Code is registered trademark of DENSO WAVE INCORPORATED.
Share this post
From holdmytwist.com/blog/create-free-qr-code-svg/

