Skip to content
quarryDocs

Prepare your files

Check which files you can sell, how quarry reads each kind, and how to get clean passages from them.

What agents receive is only as good as the files you upload.

What you can upload

KindFormats
DocumentsPDF, Word, OpenDocument text, EPUB
Slides and spreadsheetsPowerPoint, Excel, OpenDocument slides and sheets
Text and dataMarkdown, plain text, HTML, CSV, TSV, JSON, JSON Lines
Email.eml files (Outlook .msg isn't accepted)
ImagesPNG, JPEG, WEBP, GIF

Documents, slides, spreadsheets, and email can be up to 50 MB each, images up to 20 MB, and CSV, JSON, and text files up to 10 MB. A PDF can have up to 2,000 pages, or 1,000 for a scan, and a dataset can hold up to 500 files. If a file is too big, split it or save a smaller copy, such as a PDF without embedded images.

All your datasets together can hold up to 10 GB of files. Every file counts until you delete it, including one still uploading and one that failed. Every page of a dataset shows how much you use, below its sections, with the dataset's number of files and their size. When your storage is full, new files aren't added: delete files you no longer need to make room.

Folders and ZIP archives

Drop a folder or a ZIP archive on the Files tab, or pick a ZIP archive with Upload. quarry opens it in your browser and uploads every file it can use, including those in subfolders. It skips system files such as .DS_Store, formats it doesn't read, files over the size limit, and archives inside the archive. The upload panel lists what was skipped and why.

A ZIP archive can be up to 250 MB. For a bigger one, unzip it and drop the folder.

A file with exactly the same content as one already in the dataset is skipped, even under another name, so dropping a folder again only adds what's new.

How quarry reads each kind of file

quarry turns every file into text, then cuts that text into passages: short excerpts that keep their file name, section, and page or rows.

  • PDFs with real text are read with their layout, so headings, lists, and tables stay in order.
  • Scanned PDFs and images go through text recognition, which turns a picture of a page into text. An image with no text in it gets a short written description instead.
  • Word, PowerPoint, Excel, OpenDocument, EPUB, and email files are read the same way as PDFs, slide by slide or sheet by sheet.
  • HTML files become plain text. CSV and TSV files and spreadsheets are cut by rows: every passage repeats the column names, and spreadsheet passages are titled with the sheet name. JSON and JSON Lines files are cut record by record, and each passage keeps the names of its fields.
  • Long tables in PDFs and documents are cut between rows too, and every passage repeats the column names.
  • Text and data files read correctly whichever common encoding they were saved in (UTF-8, UTF-16, or Windows-1252), including a CSV saved by Excel on Windows.

quarry skips sections whose whole heading is "Contents", "Index", "Glossary", "Preface", "Copyright", or the like, and sections that read like a table of contents: short lines ending in page numbers, or rows of dots. A section called "Index funds" or "Copyright law" is kept, and so is any section with real sentences. Reference lists are kept too. Slides, spreadsheets, and data files keep every section, whatever its name.

What buyers see of your files

Buyers never get a whole file. For each question they pay for, they get a few passages, each with its file name, section, and page or rows, so they can cite you. Before paying, agents can also see a short free preview.

Buyers may use the passages they get and quote them with a citation. The terms don't let them resell passages, republish them in bulk, use repeated questions to rebuild your dataset, or train models on them without your permission.

File names are public, so give yours the name you'd want on a citation: "2025-q3-market-outlook.pdf" rather than "draft-v3-FINAL.pdf".

Tips for clean passages

  • Upload the original digital file rather than a scan of it. Text recognition works, but it makes more mistakes than reading real text.
  • Keep clear headings. They become the sections agents cite.
  • Put files on the same subject in one dataset, and start a new dataset for a new subject. Buyers pay one price to search everything in a dataset.
  • Remove drafts, duplicates, and pages you don't want to sell before you upload.

Rights and privacy

Sell only what you own or are allowed to sell, such as your own reports, research, and data, and no one else's personal data unless you have a legal basis to sell access to it. You keep ownership of everything you upload, and a dataset that breaks the terms can be taken down.

Only you can see a dataset before you publish it. To prepare your files, their text is sent to the reading and search providers described in the privacy policy, even before you publish. quarry doesn't use your files to train models, and the terms forbid buyers from training models on your passages without your permission.

Once your files are ready, check what agents will receive.

On this page

View as Markdown