# /documentprocessing/document/convert

> The /documentprocessing/document/convert endpoint of the DS Server Web API and its POST method, which converts a document into another supported format.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Endpoint
- **Path:** DS Server > API Reference > Web API > DocumentProcessing > /documentprocessing/document/convert
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/llms-full.txt

---

## In This Section

- [POST /documentprocessing/document/convert](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/post/llms.txt): Convert a Base64 DOCX, DOC, RTF, HTML, PDF or TX document to PDF, PDF/A, DOCX or another format with returnFormat and flattenFormFields, returned as Base64.

---

## Nearby

- **Previous:** [DocumentProcessing](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/llms.txt)
- **Next:** [POST /documentprocessing/document/convert](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/post/llms.txt)
