---
title: "TextExporter"
canonical_url: "https://www.nutrient.io/api/python/exporters/text-exporter/"
md_url: "https://www.nutrient.io/api/python/exporters/text-exporter.md"
last_updated: "2026-06-09T08:52:16.578Z"
description: "Exports documents to plain text (.txt) using layout-preserving extraction: words are placed in a character grid that mirrors their spatial position on the page…"
---

Exports documents to plain text (.txt) using layout-preserving extraction: words are placed in a character grid that mirrors their spatial position on the page, so columns, indentation, and tabular alignment survive the conversion.

```python

from nutrient_sdk import TextExporter

```

## Construction

```python

TextExporter()

```

Creates a new `TextExporter` instance with default settings.

## Implements

- [`IExporter`](/api/python/interfaces/i-exporter/)

---

## Related pages

- [Image Exporter](/api/python/exporters/image-exporter.md)
- [Html Exporter](/api/python/exporters/html-exporter.md)
- [Markdown Exporter](/api/python/exporters/markdown-exporter.md)
- [Presentation Exporter](/api/python/exporters/presentation-exporter.md)
- [Svg Exporter](/api/python/exporters/svg-exporter.md)
- [Word Exporter](/api/python/exporters/word-exporter.md)
- [Spreadsheet Exporter](/api/python/exporters/spreadsheet-exporter.md)
- [Pdf Exporter](/api/python/exporters/pdf-exporter.md)
- [All public classes import directly from the top-level package:](/api/python/exporters.md)

