On Lovable Cloud projects, code execution has access to your database only if the
Read database and Add data permissions are set to Always allow. See Lovable Cloud for more information.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.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:- It reads the files, data, or context you provide.
- It writes and runs the scripts needed to complete the task.
- It checks the result and fixes issues before delivering, for example layout problems in PDFs or missing data in generated files.
- It returns the result as inline analysis, a generated file, or both.
- It keeps that context in the same conversation so you can refine the output or build on it.
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:
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:
Files you upload for analysis can be up to 20 MB each on the Free plan and 256 MB each on paid plans, with up to 10 files per message.
Generated files are stored in your project’s Files area, not in your project’s code, so they are not subject to these upload limits or to the 10 MB per-file code limit.
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. To delete a file, open the file’s actions menu in the Files tab and select Delete, or ask Lovable. Deleting a file cannot be undone.
In the Files tab’s grid view, images display at their real proportions, and each file has quick actions to reference it in chat, download it, copy an image to your clipboard, or delete it.
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 asq1-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.”