# Converting Documents

> Convert DOCX, RTF, HTML and PDF to PDF, PDF/A, DOCX, DOC, RTF, HTML, TX or plain text with the convert endpoint and flatten form fields, from curl or .NET.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** DS Server > Document Processing > Converting Documents
- **Web URL:** https://docs.textcontrol.com/ds-server/document-processing/converting/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/document-processing/converting/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/document-processing/converting/llms-full.txt

---

## On This Page

- [How Converting Works](https://docs.textcontrol.com/ds-server/document-processing/converting/#how-converting-works)
- [Convert a Document With curl](https://docs.textcontrol.com/ds-server/document-processing/converting/#convert-a-document-with-curl)
- [Convert a Document With .NET](https://docs.textcontrol.com/ds-server/document-processing/converting/#convert-a-document-with-net)
- [Choose the Target Format](https://docs.textcontrol.com/ds-server/document-processing/converting/#choose-the-target-format)
- [Flatten Form Fields](https://docs.textcontrol.com/ds-server/document-processing/converting/#flatten-form-fields)
- [Convert in Other Languages](https://docs.textcontrol.com/ds-server/document-processing/converting/#convert-in-other-languages)
- [Next Steps](https://docs.textcontrol.com/ds-server/document-processing/converting/#next-steps)

---

## Nearby

- **Previous:** [Authentication](https://docs.textcontrol.com/ds-server/document-processing/authentication/llms.txt)
- **Next:** [Merging Templates](https://docs.textcontrol.com/ds-server/document-processing/mail-merge/llms.txt)
