Files and images
Attach files with the paperclip button, by dragging them onto the chat, or by pasting an image.
Supported types
| Type | How it reaches the model |
|---|---|
| PNG, JPEG, WebP, GIF | Sent as an image. The model must accept image input. |
| Sent as a file to Claude and Gemini connections. For other providers the text is extracted on your server and sent as text. | |
| DOCX | Text is extracted and sent as text. |
| TXT, Markdown, CSV, JSON, XML, HTML and common source code files | Sent as text. |
The default limit is 20 MB per file and ten files per message. Your host's PHP upload limits also apply; an administrator can see them under Admin, System.
When a model cannot read a file
- Images and text-only models. If the selected model is marked as not accepting images, the message is refused with an explanation before anything is sent. If the provider does not say either way, you see a note and the request goes ahead. A model that cannot read images will return an error.
- Scanned PDFs. A PDF with no text layer has nothing to extract. Only models with native PDF input can read it. For other models the file is left out and the model is told so.
- Long documents. Extracted text is cut at 200,000 characters and you are told when that happens. The model's own context window may be smaller.
- Switching models mid-chat. Earlier attachments are sent again with each request. If you switch to a model without image input, earlier images are replaced by a short note.
Audio and video files are not supported.
Files a model creates
There are three ways to get a file out of a conversation:
- Code blocks. Every code block has a Download button that saves it with a matching extension.
- The file tool. With tools turned on, a model can ask to create a text-based file such as Markdown, CSV, JSON, HTML or source code. You approve each one, with a preview, and it appears as a download under the reply.
- Generated images. When an image-capable chat model returns an image through Gemini or OpenRouter, it is saved to the conversation and shown inline.
Binary formats such as XLSX, DOCX or PDF cannot be generated.
Storage and safety
Files are stored outside the public web folder under random names and are served only to the account that owns them. Only raster images open in the browser. Everything else, including HTML and SVG, is delivered as a download so it cannot run on your site's address.
Deleting a conversation deletes its files. Settings, Data and privacy has an export that includes every file.
Last updated