Lovable: Readable Previews for CSV and TSV Files
Lovable now renders CSV and TSV files attached in chat as a proper table with numbered rows and lettered columns, instead of showing them as raw text. Large files are capped at the first 500 rows and 50 columns, with a prompt to download the file for anything beyond that limit. The change applies across every attachment method, whether a file is uploaded via the Chat actions menu, dragged in, or pasted.
Key Takeaways
- CSV and TSV files render as tables, showing numbered rows and lettered columns instead of raw text when attached to chat.
- Large files are capped for preview, showing the first 500 rows and 50 columns with a prompt to download anything beyond that.
- The feature works across every attachment method, whether a file is uploaded through the Chat actions menu, dragged in, or pasted directly.
- Files still work as context past the preview limit, so a file over 1 MB or beyond the row cap still informs Lovable's responses.
- The change joins other structured previews, sitting alongside syntax-highlighted code files, Markdown toggles, and ZIP content listings.
- It targets a common workflow, since spreadsheet uploads are a frequent way builders hand Lovable real data to work from.
Spreadsheet Data, Readable at a Glance
Lovable improved how CSV and TSV files appear when attached to a chat message, rendering them as a proper table with numbered rows and lettered columns instead of a raw block of text. The change applies wherever files are attached: through the Chat actions menu's Attach option, by dragging a file into the conversation, or by pasting it directly.
Built-In Limits for Large Files
For CSV or TSV files that run long, Lovable displays the first 500 rows and 50 columns and adds a note prompting a download for anything beyond that range, keeping the chat interface responsive even for sizeable exports. The tabular preview sits alongside Lovable's other file-preview formats, code files with syntax highlighting, Markdown with a preview and source toggle, and ZIP archives that list their contents, giving builders a consistent way to inspect data before asking Lovable to act on it. Files larger than 1 MB still work as context for Lovable even though they fall outside what can be previewed directly in chat.