Convert a URL to LLM friendly input
In this tutorial, learn how to convert URLs into LLM-friendly markdown using Jina's Reader service and integrate it with Bubble's API connector.
Introduction
In today's digital landscape, leveraging large language models (LLMs) for web content analysis can offer substantial advantages. One of the effective ways to do this is by converting website URLs into Markdown format, making the content LLM-friendly. This blog post explores a straightforward approach using a service called Reader by Jina, and demonstrates how to integrate this process into a Bubble app for real-time usage.
Using Jina Reader for URL Conversion
Converting a URL into Markdown with Jina Reader is incredibly simple. Even without an API key, you can experiment with the service directly from their webpage. This serves as a valuable tool, especially if you want to process content from competitors' websites and run analyses using an LLM.
To grasp the power of Jina Reader, let’s explore its application within a Bubble app. Here, we’ll illustrate how to set up a simple form using the Bubble API connector that outputs results in Markdown format. This is especially useful for users interested in comparing website content with the assistance of an LLM.
Step-by-Step Guidance
- Initial Setup: Begin by appending the target URL to the end of Jina's service endpoint (rgena.ai). If you forego an API key, brace yourself for rate limitations, but it's adequate for testing purposes. For the demo, run a test to see the structured Markdown data output.
- Integrating with Bubble API Connector: Navigate to your Bubble app's API Connector, add Jina as a new service, and incorporate it as an action within a workflow. This allows user input to be dynamically converted into a Markdown format.
- Creating a User Interface: Construct a new page in your Bubble app titled "Convert URL to Markdown". Although design won't be the main focus, using rows and columns is recommended for an optimized layout. The page will contain an input field for the URL, a button to trigger the request, and a text area to display the Markdown result.
- Custom States for Temporary Data: Use custom states within Bubble to temporarily store and display data, avoiding database save operations. This ensures quick updates during user interaction, though the data will be lost upon page refresh or navigation.
- Handling the Response: After initializing the API call, parse the returned text into the designated custom state. This setup facilitates displaying the Markdown directly on your app page.
Advanced Applications and Considerations
For more complex web scraping requirements, consider scraping results pages from platforms like Airbnb. Be cautious as many websites have anti-scraping mechanisms. For advanced tasks like extracting specific data points (such as ratings) and returning JSON structured data, tools like Claude’s JSON mode can simplify these processes.
Explore our video tutorials and guides for deeper insights on using AI APIs effectively, particularly with OpenAI and Bubble.
The best way to learn Bubble.io?
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.
Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.
As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.
Your subscription includes:
- Bubble Beginner Essentials – Get up and running fast.
- Build a ChatGPT Clone – Integrate AI into your no-code apps.
- Build Your SaaS Website with AI – Learn to create a scalable startup site.
Plus, new tutorials every week!
The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.
Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:
- 1:1 mentorship to fast-track your progress
- Marketing strategies tailored for no-code founders
- Product management insights to scale your startup
- Personalized support from experienced founders