# Docx2txtLoader

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/word_document/Docx2txtLoader)

Load `DOCX` file using `docx2txt` and chunks at character level.

Defaults to check for local file, but if the file is a web path, it will download it
to a temporary file, and use that, then clean up the temporary file after completion

## Signature

```python
Docx2txtLoader(
    self,
    file_path: Union[str, Path],
)
```

## Extends

- `BaseLoader`
- `ABC`

## Constructors

```python
__init__(
    self,
    file_path: Union[str, Path],
)
```

| Name | Type |
|------|------|
| `file_path` | `Union[str, Path]` |


## Properties

- `file_path`
- `original_file_path`
- `web_path`
- `temp_file`

## Methods

- [`load()`](https://reference.langchain.com/python/langchain-community/document_loaders/word_document/Docx2txtLoader/load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/document_loaders/word_document.py#L20)