Skip to main content
Ask Lovable to analyze data, create documents, transform files, and generate downloadable outputs directly in the chat. Lovable writes and runs scripts in an isolated environment, then returns the result as a generated file. Your project’s source code is never affected. You can build on top of the result in the same conversation. After Lovable analyzes your data or generates a file, ask it to create app features based on what it found, for example by turning a spreadsheet into a dashboard or a product spec into a working app flow.
The functionality is available on Free, Pro, and Business plans.At the moment:
  • It is not enabled by default for Enterprise workspaces. Contact your account team to enable it.
  • On Lovable Cloud projects, code execution is available if database permissions are set to Always allow.

What you can do

Upload a CSV, spreadsheet, or any supported file and ask Lovable to analyze, transform, or combine it with other data sources, such as your database or connected tools.
Use caseExample prompt
Data analysisAnalyze the sales data in my uploaded CSV and tell me the top 5 products by revenue.
PDF reportGenerate a PDF report summarizing this quarter’s metrics from my database.
CSV exportExport all orders from the last 30 days as a CSV file.
Data transformationConvert the uploaded JSON file to a formatted Excel spreadsheet.
Chart generationCreate a bar chart showing monthly signups from my users table.
Slide deckCreate a presentation summarizing the key findings from this dataset.
DiagramGenerate an architecture diagram for my app as a Mermaid flowchart.
Image processingResize these product images to 800x600 and convert them to WebP.
Database queryHow many users signed up this week? Break it down by day.
Data importImport the uploaded CSV into my products table.
Connected toolsRead my open Linear issues and generate a status report as a PDF.
Build from a fileTurn this Excel tracking sheet into a web app with dashboards and user login.
Build from a specRead this PDF product spec, summarize the requirements, and build the first version.
Build from analysisAnalyze my user drop-off data, then build an improved onboarding flow based on what you find.

How it works

Describe what you need in the chat. You do not need to configure commands, write scripts, or choose tools yourself. Lovable decides when to run code and when to build features based on your request. Lovable typically follows this flow:
  1. It reads the files, data, or context you provide.
  2. It writes and runs the scripts needed to complete the task.
  3. It checks the result and fixes issues before delivering, for example layout problems in PDFs or missing data in generated files.
  4. It returns the result as inline analysis, a generated file, or both.
  5. It keeps that context in the same conversation so you can refine the output or build on it.
The more specific you are about structure, formatting, tone, data sources, and the result you want, the better the output will be.

What Lovable can run

Lovable writes and executes scripts in an isolated Linux environment. If something can run in a Linux shell, Lovable can likely run it. Common tools are preinstalled, for example:
CategoryExamples
LanguagesPython 3, Node.js, Bun, Deno, Bash
Data processingpandas, NumPy, SciPy, DuckDB
Visualizationmatplotlib, Pillow
Databasepsql for database access
Utilitiescurl, jq, and standard Unix tools
If a task needs an additional package or command line interface (CLI) tool, Lovable can install it automatically.

Supported file types

Lovable can read files you upload and generate new files in the following formats:
CategoryFormats
DocumentsPDF, DOCX, PPTX, TXT, Markdown
SpreadsheetsCSV, XLSX, XLS
ImagesPNG, JPEG, WebP, SVG, GIF, AVIF, HEIC
VideoMP4
AudioMP3, M4A
Code and dataHTML, JSON, JS, TS, Python
DiagramsMermaid
ArchivesZIP, GZIP, TAR
Maximum file size for uploads and downloads is 20 MB.

Manage generated files

When Lovable creates a file, it appears in the chat as a file card. You can open it directly from the chat, or open the Files tab to search, preview, and download all files created in your project, or reference a file directly in the chat. You can refine generated files through follow-up prompts. When a file is revised, Lovable creates and stores a new version (for example, report_v2.pdf) so you can compare them. Files are securely and permanently stored with the project. If you want to delete a file, ask Lovable.

Tips for best results

  • Be specific about formatting
    ”Create a PDF report with a cover page, section headers, and a summary table” produces better results than “Make a report”.
  • Name your output
    If you want a specific filename, ask Lovable to add it, for example “Save it as q1-summary.pdf.”
  • Iterate
    If the first result is not perfect, describe what to change. Lovable keeps context from prior outputs.
  • Chunk large datasets
    For very large files, ask Lovable to process a subset first, then scale up.
  • Use connected tools as data sources
    Ask Lovable to pull data from tools like Slack, Linear, or Notion, for example “Summarize the last 50 messages from my Slack feedback channel and generate a report”.
  • Combine steps
    You can ask for analysis and file generation in one prompt, for example “Analyze this CSV and export the top 10 rows as an Excel file.”