Codes
● Codes

QR Code From a Link

Use QR from Link in Ali Hub Codes with clear validation, results, privacy information, and documented limitations.

QR Code From a Link

Generation

Results

Enter data to see a preview.

Start with the address you want people to open

Use this tool for a complete web address already chosen. Paste it, choose an image size, and make a QR code for a flyer or document. Scan with another device. Before a large print run, test one copy on the intended material at its final size. The code contains the supplied address. The tool checks that it parses as an HTTP or HTTPS URL; it does not verify the page, its owner or its future availability. For a message rather than an address, use the text QR tool.

What a link QR code stores

A QR code is a two-dimensional pattern of light and dark modules. Here it contains your web address, including any path, query or fragment. The generator makes an SVG image that a reader can decode and may offer to open. The generated symbol fixes the address. If its destination moves or disappears, scanning still returns that address. This tool adds no short link, redirect editor or scan statistics. Keep the destination useful after printing.

Create and check the link code

1. Copy the destination address from your browser or a trusted source. Include http:// or https:// and check the domain, path and any parameters. 2. Paste the full address into URL. Adjust Size if the intended display or print layout calls for a different image width. 3. Run the generator and inspect the address displayed with the SVG. The tool rejects entries that are not valid HTTP or HTTPS URLs. 4. Scan the code with another reader, compare the decoded address character by character, and try one printed sample before distribution.

Link to an information page

Link to an information page How can visitors reach the correct information page? 1. Paste the full HTTPS address and generate its code. 2. Decode the image and compare the result to the address you supplied. The scheme is part of the content. Leaving it out would fail this tool’s URL validation. Keep two query parameters Will campaign parameters survive in the code? 1. Paste the complete address, including ?, = and &. 2. Scan it and confirm both parameter names and values remain in order. Changing one parameter can change what the destination serves, so compare the entire decoded string. Point to a section of a page Can a fragment after # be retained? 1. Enter the address with its fragment identifier. 2. Scan and check that #chapter-3 appears at the end. The QR tool preserves the address; it does not inspect the page structure. Use an HTTP address with a port Does the form allow HTTP and a port? 1. Enter the complete HTTP address and port. 2. Decode the code and check the scheme, host, port and path. Use HTTPS for public destinations when available. Valid URL syntax does not establish connection security. Preserve an encoded space in a file path Will %20 remain in the address? 1. Paste the address exactly as prepared, including %20. 2. Scan and compare the decoded path with the original. Test the actual destination separately. A well-formed address does not prove that a file exists. Check case in a printed card Can an uppercase path segment stay unchanged? 1. Enter the address and select a larger SVG size for the card layout. 2. Print one card, scan it and check the exact capitalization. Some servers distinguish uppercase and lowercase paths; verify the destination and printed result.

Read the result as an address, not an endorsement

The SVG represents the supplied URL. Decode it with another reader and compare scheme, host, path, query and fragment. Check the domain before opening it; a scannable code does not make the website safe. An on-screen image confirms generation, not reliable scanning from every surface. Test a print at the intended size and viewing distance. Check the destination separately on the network visitors will use.

Mistakes that change a link code

A missing scheme, mistyped domain or omitted ?, & or # changes the address. The form rejects URLs without an HTTP or HTTPS scheme, but cannot know which valid address you intended. Compare the decoded result. Crowded artwork, small print and weak contrast may prevent scanning. Leave clear space and test the actual medium. If the page moves, update a destination you control or make a new code.

What this form does and does not check

This tool accepts HTTP and HTTPS addresses. It does not create pages, upload files, verify domain ownership, check server responses or make a printed address editable. Use a text QR tool for non-URL content. Anyone scanning the code can read its address. Avoid private access tokens in a public URL. Remove sensitive query values or choose suitable access controls before generation.

Frequently asked questions

Do I need to include https://? Yes, include the full http:// or https:// scheme. The form validates the address as an HTTP or HTTPS URL; a bare domain is not accepted by this check. Does the tool shorten my address? No. It encodes the trimmed address itself and adds no shortener or intermediate redirect. A long address may make the symbol denser. Can I change the destination after printing? The address in a printed code is fixed. You would need to control what happens at that address, operate a separate redirect, or print a new code. Does validation mean the site is safe or online? No. The form checks URL syntax and the HTTP or HTTPS protocol. It does not visit the site, verify its owner or assess security. Will a query string or page fragment be kept? Yes, the trimmed address is encoded as supplied. Scan a sample and verify ?, &, = and # along with their surrounding characters. Can I use an email or telephone scheme here? No. This form is limited to HTTP and HTTPS URLs. Ali Hub has separate tools for email and telephone QR content. What does Size change? It changes the width of the SVG image, not the address inside it. The runtime constrains the width to 160–2048 pixels and defaults to 320. Is the on-screen preview enough for a print run? No. Print one sample at its final dimensions, keep a clear border, scan it under typical lighting and compare the complete decoded address.

How the address becomes an image

URL validation The runtime trims outer whitespace and asks the browser URL parser to read the entry. It accepts http: and https: only. This checks syntax and protocol, not reachability or safety. Malformed addresses and other schemes, such as mailto:, are rejected. Encoded address and size After validation, the trimmed address goes to the QR renderer unchanged. It is not shortened or replaced. Size sets SVG width between 160 and 2048 pixels, with 320 as the default. Readability after printing Long addresses can make denser codes. The QR library selects the encoding and number of modules, so pixel width alone cannot assure a good print. Keep clear space and strong contrast; test the final size. This page has URL and Size fields, without a margin control. The renderer defaults to a two-module margin. DENSO WAVE describes a four-module clear zone for a standard QR code. Leave extra room in the surrounding layout and test the print. The runtime limits QR payloads to 4096 JavaScript characters. That input check does not promise that every long address fits or scans reliably. Inspect the generated image and use a shorter address you control when practical.

References

https://codes.ali-hub.com/en/qr-from-link https://url.spec.whatwg.org/ https://www.qrcode.com/en/howto/code.html https://www.qrcode.com/en/about/error_correction.html