Skip to content

Dataset

Google Docs, Sheets and Slides file datasets for AI training

A Google Docs dataset is a set of the native Google Documents, Spreadsheets and Presentations a business wrote, delivered as the structured trees their APIs return: document tabs with Suggestions inline, comment threads with their anchors and replies, Sheets whose cells hold both formula and value, Named ranges, Slides with speaker notes, and any bound Apps Script project. SourceX sources it to a buyer's spec from established businesses that work in Google Docs, Sheets and Slides. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
A business's native Google Documents, Spreadsheets and Presentations with suggestions, comments, formulas and scripts
Typical systems
Google Docs, Sheets and Slides under Google Workspace, read through their own APIs and the Drive API; bound Apps Script projects on request
Typical history
Specified by the buyer; current state plus the coarse revisions Drive lists, and named versions where collected
Modality
Native file JSON per document, spreadsheet or presentation; comment threads as records; scripts as source files
Delivery formats
Agreed per order; native API JSON per file with its comments, plus DOCX, XLSX, PPTX or PDF copies on request
Preparation
Authors pseudonymized across comments, suggestions, revisions and person chips; hidden sheets reviewed; personal data removed
Licensing
Rights reviewed per file for ownership, embedded third-party content and Google's terms; permitted use set in the license
Availability
Sourced to your spec from businesses that write in Google Docs, Sheets and Slides; supply is not guaranteed
Office documents and PDFsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
file_idstringPseudonymous Drive ID of the Document, Spreadsheet or Presentation, which linked charts and cross-file formulas refer to.
file_kindenumDocument, spreadsheet or presentation, from the file's Google MIME type.
tabsarrayThe Document tabs, each with title, nesting and a body of paragraphs, tables and indexed text runs.
suggestionsarrayThe Document's suggestion threads: suggestion ID, first post with author and time, replies, a status of open, accepted or rejected, and a summary of the change.
view_modesobjectThe suggestions and comments view modes the file was read with, which decide whether Suggestions and comment threads appear at all.
commentsarrayThe file's comment threads, each with anchor (a tab and index range in a Document), quoted text, replies, status and pseudonymized authors.
revisionsarrayThe revisions Drive lists for the file, with modified time and last modifier, and Named versions where collected.
sheetsarrayEach Sheet of a Spreadsheet with its title, index, grid size and hidden flag.
cellsarrayCell data per Sheet: the Cell formula as entered, effective value, formatted value, number format and any note.
named_rangesarrayThe Spreadsheet's Named ranges, each with its name and the Sheet and grid range it covers.
slidesarrayThe Slides of a Presentation, each with page elements, their text and position, layout and speaker notes.
script_projectobjectThe bound Apps Script project's source files and manifest, where one is attached to the file.
linked_refsarrayReferences to other files, such as IMPORTRANGE formulas and linked Sheets charts, marked inside or outside the delivery.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "file_id": "doc_8c41f0",
  "file_kind": "document",
  "title": "Returns policy v3, wholesale accounts",
  "view_modes": { "suggestions": "SUGGESTIONS_INLINE", "comments": "COMMENTS_VIEW_MODE_INCLUDED" },
  "tabs": [
    { "tab_id": "t.0", "title": "Policy",
      "body": [
        { "start_index": 212, "end_index": 285, "text": "Wholesale customers may return unopened stock within 30 days of delivery." },
        { "start_index": 285, "end_index": 325, "text": " A restocking fee applies after 14 days.",
          "suggested_insertion_ids": ["suggest.k2f81xq0"] }
      ] }
  ],
  "suggestions": [
    { "suggestion_id": "suggest.k2f81xq0", "status": "OPEN", "summary_text": "Add: A restocking fee applies after 14 days.",
      "head_post": { "author": "U_p0107", "create_time": "2025-02-05T16:40:12Z" } }
  ],
  "comments": [
    { "comment_id": "cmt_AAAB7", "status": "OPEN", "quoted_text": "within 30 days of delivery",
      "anchor": { "tab_id": "t.0", "start_index": 258, "end_index": 284 },
      "head_post": { "author": "U_p0107", "content": "Finance wants this tied to invoice date, not delivery. [PERSON_3] can you confirm?" },
      "replies": [{ "author": "U_p0033", "content": "Invoice date works. Keep 30 days." }] }
  ],
  "revisions": [{ "id": "455", "modified_time": "2025-02-06T09:02:10Z", "last_modifier": "U_p0033" }],
  "linked_refs": [{ "kind": "sheets_chart", "target_file_id": "sht_22b7d9", "in_delivery": true }],
  "export_basis": { "api": "documents.get", "include_tabs_content": true, "collector_access": "editor" }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Proposing edits in place

Open suggestions inline with their text, plus threads marked accepted or rejected, give a proposed change, its place and its outcome.

Review comments and replies

Comment threads with an anchor range, replies and an open or resolved status show what a reviewer asked and how the author answered.

Formula writing and repair

Cells that hold formula and value let a model learn to write a formula for a target result and be checked by recomputing.

Deck drafting with speaker notes

Slides with element positions, layouts and notes pair what was shown with what the presenter meant to say.

Spreadsheet automation code

Bound Apps Script next to the sheet it acts on pairs automation code with the data it reads.

Use-case guides: Document AI, enterprise search and RAG, Enterprise and computer-use agents, Finance and accounting agents, Private evaluation sets

What makes this data valuable

Native JSON delivered

Each file arrives as its API tree, not only as a converted copy.

Suggestions captured

Documents were read with suggestions inline and comments included, and both modes are recorded.

Comments joined

Every comment thread resolves to a file and, in a Document, to an anchor range.

Formulas with values

Formula cells carry both the entered formula and the effective value.

Hidden content listed

Hidden sheets, rows and columns are flagged, not silently included.

Links accounted for

Cross-file references resolve inside the delivery or are marked external.

Document stack

Google Docs dataset

This page covers google Docs, Sheets and Slides files.Illustrative

Proposed edits, comments and formulas sit inside the file

A native Google file has no bytes to download. The Docs, Sheets and Slides APIs return it as a structured tree. In a Document, each tab's body is a sequence of paragraphs and tables made of text runs with start and end indexes. A proposed insertion is a text run carrying suggestedInsertionIds, a proposed deletion is existing text carrying suggestedDeletionIds, and a proposed format change sits beside the style it would replace. Proposed changes can be read in place, without diffing two files.

Those marks cover open suggestions only. Accepted text becomes ordinary text and rejected text leaves the body. Who proposed a change is held beside the body: a Document read with comments included also returns its suggestion threads, each with the suggestion ID, a first post carrying author and creation time, replies, a status of open, accepted or rejected, and a plain-text summary of the change. Check on the sample how far back decided threads go.

Comments come back the same way. A comment thread carries its posts, a status of open or resolved, the quoted text and an anchor ID, and each tab lists its comment anchors as ranges with a start and end index, so a remark sits on the exact words it questioned. That is usually where the reasoning for a change is written. In a Spreadsheet a cell holds both sides of a calculation, the formula as entered and the value it produced, plus the formatted string a person saw. A date is a serial number given meaning by its number format. A Presentation is slides of positioned page elements, with speaker notes on a notes page per slide and charts that point back to a Spreadsheet by ID.

What the APIs and Office downloads lose, and how to test a sample

The fine-grained version history a person scrolls through in the editor is not available through the public APIs. Drive lists coarse revisions of a native file, each with a time and a last modifier, and older ones may have been merged. Ask which revisions were exported, in what form, and whether named versions were captured.

How a file was read matters as much. Comment and suggestion threads are left out unless the read set a comments view mode, and in Docs including them requires tab content and suggestions inline. Under the access-based defaults a view-only account gets a Document with suggestions and comments removed, so the collector's access decides whether they are in the delivery. These thread reads reached the three APIs only in 2026, so an older archive holds comments from Drive, whose anchor is opaque editor data. A read without tab content returns the first tab only. A Sheets values read returns formatted strings and no formulas unless told otherwise, and grid data, with cell notes and hidden rows, comes only when requested. Image links in the JSON expire soon after the read. A bound Apps Script project is in no file download and has to be pulled through the Apps Script API.

A download as DOCX, XLSX or PPTX is a conversion into another product's model. Suggestions become Word tracked changes and comments, where kept, become Office comments, with author names inside the file, and the suggestion IDs, anchor ranges and thread statuses that tie the native records together are gone. Sheets functions with no Excel equivalent, such as IMPORTRANGE and QUERY, may not convert to a working formula, so check what such a cell holds. Ask for the native JSON alongside any converted copy. Then test it: count the suggestions in a file known to have some open, resolve each comment's anchor range to its quoted text, and compare formula cells with their values.

What to check before licensing

  • Ask for the native JSON from the Docs, Sheets and Slides APIs alongside any DOCX, XLSX or PPTX copy, and for the parameters used: suggestions view mode, comments view mode, tab content, grid data and value render option.
  • Check that comment and suggestion authors are de-identified consistently across files. One person should carry one pseudonym in posts, replies, revision modifiers, person chips and tracked-change authors in converted copies.
  • Check that spreadsheets do not carry customer lists, payroll or other personal data in hidden sheets, hidden rows and columns, cell notes or ranges pulled in by IMPORTRANGE. Ask for a list of every hidden sheet.
  • Have counsel for the buyer and for the data owner each read Google's current Workspace terms and API policies on exported data and API use, and confirm they allow the intended use.
  • Ask which access the collecting account had on each file and whether comments were requested, and count Documents with open suggestions. A view-only read can return a clean document where suggestions exist.
  • Ask which Drive revisions and named versions were exported and in what format, since the editor's fine-grained version history is not exportable.
  • Confirm ownership file by file, since shared drives hold client files, licensed templates and pasted third-party text. Ask whether Apps Script projects were scanned for keys and tokens.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Does a Google Docs export include suggested edits?

The native JSON does, if the Document was read with suggestions inline by an account allowed to see them. Open suggestions are marked on their text runs by ID, and a read with comments included adds suggestion threads with author, time and status. A converted Word copy carries suggestions as tracked changes, without the native IDs.

Can we get the full version history of a document?

No, not the history the editor shows. The fine-grained version history in the Docs, Sheets and Slides editors is not exposed through the public APIs. Drive lists coarse revisions with a time and last modifier, which can be exported as snapshots and diffed. Ask which revisions were captured.

Do spreadsheets come with formulas or only values?

Both, when the Sheets API read asked for them. Cell data holds the formula as entered, the effective value and the formatted value. A plain values read returns only what was displayed. Cross-file formulas such as IMPORTRANGE keep their last value, but the source spreadsheet may sit outside the delivery, so ask for those references to be listed.

Why not just take DOCX, XLSX and PPTX files?

Because a converted file is a translation, and the native records do not all survive it. Suggestion IDs, anchor ranges, thread statuses, document tabs, linked charts, Google-only functions and bound Apps Script either change form or are lost. Take converted copies alongside the native JSON, not in its place.

How are comment authors and hidden spreadsheet data handled?

That is agreed per order and is yours to check. Authors appear in comment and suggestion posts, replies, revisions and person chips, and one person should map to one pseudonym in all of them. Spreadsheets can hold customer lists or payroll in hidden sheets, hidden columns and notes. Ask for hidden content to be listed and reviewed.

Is SourceX affiliated with Google?

Google Docs, Sheets and Slides are named to identify the system the records come from. That does not imply a partnership with or endorsement by Google. The records belong to the business that runs Google Docs, Sheets and Slides, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies