Build with URL: Turn a Simple Link Into a Lovable App Starter
Imagine sending someone a link, and when they open it, Lovable is already waiting with a full prompt written out, a logo attached, and a reference page loaded. All they do is press send. That is exactly what Build with URL does, and it is one of the most underrated features on the platform.
I have been using prompt links in my own client work, and they solve a problem most people do not realize they have: getting an idea from someone's head into Lovable without a long email thread explaining what to type. In this guide I will walk you through how these links work, how to build them, and the workflows where they genuinely save time.
What a prompt link actually is
At its core, Build with URL is just a special Lovable link that carries instructions inside it. The link tells Lovable what to build, and optionally what to look at while building, such as images to use as visual references or a live web page to pull layout and content ideas from.
Here is the simplest possible example:
https://lovable.dev/#prompt=Create%20a%20todo%20app
Open that link and Lovable loads with the to-do app prompt already typed into the input box, ready to go. Nothing builds until the person clicks send, which is an important detail we will come back to.
One thing worth clearing up right away: this is not the Lovable API. Prompt links need no API key and no code. They prefill a prompt for a human to review and send. If you want to manage existing projects programmatically over REST, that is a different feature entirely.
The anatomy of the link
You start from the Lovable homepage and hang parameters off the end, separated by &. One quirk trips people up: the parameters come after a # symbol, not the ? you see in most URLs:
https://lovable.dev/#prompt=YOUR_PROMPT&images=IMAGE_URL&html=PAGE_URL
There are three parameters to know:
- prompt (required): the text describing what to build. It can be up to 50,000 characters, and special characters need their URL codes, so a space becomes
%20. - images (optional): a publicly reachable image URL used as a visual reference. Repeat the key to attach several. JPEG, PNG, and WebP only, and the URL has to end in a matching extension like
.pngor.jpg. - html (optional): a publicly reachable web page URL. Lovable fetches the page and uses it as a reference for layout, content, and styling. You can repeat this one too.
Reference limits to keep in mind
Images and web pages share one combined budget of 10 references per link. Every URL must be reachable over public http or https, because Lovable's servers fetch the content themselves. That means no localhost addresses, nothing on a private network, and nothing behind a login wall.
Lovable is forgiving about bad references: unsupported formats like SVG and GIF, invalid URLs, files over 20 MB, and slow-to-load pages simply get dropped, while the prompt and the remaining references still load. What it will not forgive is a prompt over 50,000 characters. In that case the whole link is discarded and the input stays empty.
Two ways to build a link
1. Write it by hand
For short prompts, constructing the URL yourself is perfectly fine. Encode your prompt text, tack on any references, and you are done. A few examples to show the range:
# A plain prompt
https://lovable.dev/#prompt=Create%20a%20todo%20app
# Prompt plus a reference image
https://lovable.dev/#prompt=Build%20a%20landing%20page%20with%20this%20logo&images=https://img.com/logo.png
# Recreate an existing page
https://lovable.dev/#prompt=Recreate%20this%20page&html=https://example.com/index.html
# Page and image together
https://lovable.dev/#prompt=Rebuild%20this%20page%20with%20our%20logo&html=https://example.com/index.html&images=https://img.com/logo.png
2. Use the Lovable Link Generator
For anything longer or with multiple attachments, use the Lovable Link Generator. It handles the URL encoding for you, and instead of hunting for public image URLs, it uploads your images to your Lovable account and references the uploads directly. You will need to be logged in, since the uploads live in your account.
The flow is simple: type your prompt (up to 50,000 characters), add reference images, paste any reference page URLs, then copy the finished link and share it. The same 10-reference combined limit applies.
Pointing a link at an existing project
Everything above creates a brand new project. But there is a second flavor of prompt link that I find even more useful in client work: prefilling the chat of a project that already exists.
Instead of the homepage, you take the project's own URL and add the prompt as a normal ? parameter:
https://lovable.dev/projects/YOUR_PROJECT_ID?prompt=Add%20dark%20mode%20support
When the editor opens, Lovable drops that text into the chat input and then removes the parameter from the address bar, so a reload or a back-button press will not apply it twice. It never sends automatically. Whoever opens the link reads the suggestion and decides to send it.
There is one polite behavior worth knowing: if the chat input already holds an unsent message, Lovable protects it and ignores the link's prompt. Once the input is cleared, opening the link again works as expected.
This is perfect for follow-up shortcuts. Instead of writing "hey, can you ask Lovable to add dark mode" in an email, you send a link that puts the exact words in the right place.
What happens when someone opens your link
The experience depends on whether the recipient is logged in:
- Logged in: Lovable opens with the prompt and references prefilled. They review and click send.
- Logged out, homepage link: the prompt still prefills immediately. When they click send, Lovable asks them to sign up or log in, then starts the build with the original prompt and references preserved.
- Logged out, Link Generator link: they sign up or log in first, and the prefilled prompt appears right after.
Either way, nothing is lost in the sign-up detour, and nothing ever builds without a human pressing send. Older links floating around with autosubmit=true still open, but Lovable ignores that parameter now.
Where prompt links shine in real workflows
Here is where I have seen them earn their keep:
- A "Build with Lovable" button on your site. Agencies and template sellers can add a button that opens Lovable with a starter prompt ready to send. The visitor goes from reading about a template to building on it in one click.
- Client change requests. When a client shares their project with me, I can reply with a link straight into their project chat carrying my suggested edit, worded exactly the way I would prompt it.
- Recreating or iterating on a live page. Pass a public page URL as the
htmlreference and Lovable uses its layout and content as a starting point. Great for redesigns and migrations. - Sharing prompts with an audience. If you teach or post about Lovable, a prompt link lets your readers try your exact prompt instead of copy-pasting from a blog post.
- Internal tools and automations. Any system that can generate a URL can hand a prefilled build to a teammate.
Limits and gotchas
A short list of things that will bite you if you ignore them:
- Prompts over 50,000 characters kill the entire link. The input just stays empty.
- Very long URLs can run into browser length limits. Use the Link Generator for big prompts.
- Reference URLs must be public. Private networks, localhost, and login-protected pages are skipped.
- Only JPEG, PNG, and WebP images count, and the URL must end in the matching extension.
- Ten references total per link, shared between images and pages.
- For
htmlreferences, stick to standard web pages. Pages Lovable cannot read as HTML may be skipped.
Best practices
- Keep prompts concise and focused on the core features. A sharp 100-word prompt beats a rambling 2,000-word one.
- Write in clear, descriptive language. The prompt is the build's foundation.
- Encode special characters properly, or let the Link Generator do it for you.
- Test every reference URL in an incognito window before sharing. If you need a login to see it, Lovable cannot see it either.
- When sending someone into an existing project, make sure they actually have access to that project first.
FAQ
Do prompt links build the app automatically?
No. Every prompt link, including old ones with autosubmit=true, opens the prompt and attachments unsent. The build starts only when the person clicks send.
Which image formats can I reference?
JPEG, PNG, and WebP, and the image URL must end in a matching file extension. Other formats like SVG and GIF get dropped.
Do my image and page URLs need to be public?
Yes. Lovable's servers fetch them, so private network addresses, localhost URLs, and anything behind a login will not load. The Link Generator works around this for images by uploading them to your account.
How many references can one link carry?
Up to 10 in total, counting images and web pages together.
What happens when someone who is logged out clicks my link?
The prompt still opens prefilled. Homepage links prefill right away and ask them to sign up or log in when they click send. Link Generator links ask for login first, then show the prefilled prompt. Either way the prompt and references survive the detour.
Can I prefill the chat of an existing project?
Yes. Use https://lovable.dev/projects/YOUR_PROJECT_ID?prompt=YOUR_PROMPT. Lovable writes the text into the project's chat input without sending it, and removes the parameter from the URL afterward.
Is Build with URL the same as the Lovable API?
No. Prompt links prefill a prompt for a person to send, with no API key required. The Lovable API is for managing existing projects programmatically over REST.
Wrapping up
Build with URL turns "here is what you should type" into "here, it is already typed." Whether you are adding a build button to your site, sending a client straight into their project chat with a suggested edit, or sharing prompts with your audience, a well-crafted link removes every bit of friction between the idea and the build.
If you want a "Build with Lovable" flow wired into your own site or client onboarding, that is exactly the kind of thing I build. Explore my booking options and let's set it up.