For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Work with files

Create, preview, and refine documents, presentations, spreadsheets, and PDF files in ChatGPT

When a task produces a file, give ChatGPT the source data, expected file type, structure, and review criteria that matter for the task. The preview and review tools depend on the surface you use.

The ChatGPT desktop app previews generated documents, presentations, spreadsheets, and PDF files alongside the chat. When automatic previews are enabled, the app can open a generated file after a task finishes.

When HTML previews are available, generated .html and .htm files can also open as interactive previews. Switch between the rendered preview and source view to inspect the output or its underlying HTML.

Use annotations to point at a specific part of a supported preview and request a focused revision.

Create files for review

For spreadsheets and presentations, describe the sheets, columns, charts, slide sections, and checks you expect. Ask ChatGPT to explain where it saved the output and how it checked the result.

Refine files with annotations

Annotations let you point to a specific part of a file and tell ChatGPT what to change. The same annotation workflow available for code, Markdown files, and websites also works with documents, spreadsheets, and presentations.

For example, you can:

  • Select a navigation bar on a website and ask ChatGPT to change its font.
  • Highlight a claim in an investment thesis and ask for its source.
  • Mark a chart on a slide and request a clearer label.

ChatGPT uses the selected area as context for your request, so you can refine the file without starting over or changing the parts you already like. Annotations are particularly useful after the first draft, when the work needs review and iteration.

Review and refine files

Use the chat sidebar while a task runs. It can surface the agent’s plan, sources, generated files, and chat summary so you can steer the work, inspect generated files, and request another pass.

Ask ChatGPT to explain where it saved each file and how it verified the result. Use the preview to inspect the output, then give focused feedback about the structure, data, layout, or validation that needs another pass.