# DocumentProcessing

> Convert, merge, append and inspect documents, create PDFs, read PDF attachments, metadata and form fields, and create barcodes with DocumentProcessing.

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

---

The DocumentProcessing endpoints under `/documentprocessing` convert, merge, append and inspect documents, create PDF documents, read the attachments, metadata and form fields of PDF documents and create barcodes. Documents are sent and returned as Base64 encoded strings in JSON. The .NET package `TXTextControl.DocumentServices.DocumentProcessing` calls the same endpoints (see the [DocumentProcessing namespace](https://docs.textcontrol.com/ds-server/reference/dotnet-api/txtextcontrol-documentservices-documentprocessing/llms-full.txt)).

| Method | Endpoint | Description |
|---|---|---|
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/post/llms-full.txt) | [/documentprocessing/document/convert](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/post/llms-full.txt) | Converts a document to another supported format. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/llms-full.txt) | [/documentprocessing/document/merge](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/post/llms-full.txt) | Merges and returns a compatible uploaded template with hierarchical JSON data. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-findandreplace/post/llms-full.txt) | [/documentprocessing/document/findandreplace](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-findandreplace/post/llms-full.txt) | Executes a find and replace on a template to create a document. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-append/post/llms-full.txt) | [/documentprocessing/document/append](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-append/post/llms-full.txt) | Combines documents by appending them divided by a new section, paragraph or nothing. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-thumbnails/post/llms-full.txt) | [/documentprocessing/document/thumbnails](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-thumbnails/post/llms-full.txt) | Creates and returns thumbnail images of documents. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-info/post/llms-full.txt) | [/documentprocessing/document/info](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-info/post/llms-full.txt) | Returns information about the document and document content. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-installedprinters/get/llms-full.txt) | [/documentprocessing/document/installedprinters](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-installedprinters/get/llms-full.txt) | Returns information about the printers installed on the server. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-create/post/llms-full.txt) | [/documentprocessing/pdf/create](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-create/post/llms-full.txt) | Creates a PDF document from an input document. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-embeddedfiles/post/llms-full.txt) | [/documentprocessing/pdf/embeddedfiles](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-embeddedfiles/post/llms-full.txt) | Returns all embedded files from a given PDF document. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-metadata/post/llms-full.txt) | [/documentprocessing/pdf/metadata](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-metadata/post/llms-full.txt) | Extracts metadata from a given PDF document. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-acroforms-fields/post/llms-full.txt) | [/documentprocessing/pdf/acroforms/fields](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-acroforms-fields/post/llms-full.txt) | Returns all AcroForm fields of a given PDF document. |
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-create/post/llms-full.txt) | [/documentprocessing/barcodes/create](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-create/post/llms-full.txt) | Creates a barcode image. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-defaulttext/get/llms-full.txt) | [/documentprocessing/barcodes/defaulttext](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-defaulttext/get/llms-full.txt) | Returns the default text of a given barcode type. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-maximumtextlength/get/llms-full.txt) | [/documentprocessing/barcodes/maximumtextlength](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-maximumtextlength/get/llms-full.txt) | Returns the maximum text length that can be encoded. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-minimumtextlength/get/llms-full.txt) | [/documentprocessing/barcodes/minimumtextlength](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-minimumtextlength/get/llms-full.txt) | Returns the minimum text length that can be encoded. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-istextvalid/get/llms-full.txt) | [/documentprocessing/barcodes/istextvalid](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-istextvalid/get/llms-full.txt) | Checks whether a text can be encoded with a given barcode type. |

---

## In This Section

- [/documentprocessing/barcodes/create](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-create/llms-full.txt): The /documentprocessing/barcodes/create endpoint of the DS Server Web API and its POST method, which renders a barcode or QR code as an image.
- [/documentprocessing/barcodes/defaulttext](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-defaulttext/llms-full.txt): The /documentprocessing/barcodes/defaulttext endpoint of the DS Server Web API and its GET method, which returns the default text of a barcode type.
- [/documentprocessing/barcodes/istextvalid](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-istextvalid/llms-full.txt): The /documentprocessing/barcodes/istextvalid endpoint of the DS Server Web API and its GET method, which checks whether a text can be encoded in a barcode.
- [/documentprocessing/barcodes/maximumtextlength](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-maximumtextlength/llms-full.txt): The /documentprocessing/barcodes/maximumtextlength endpoint of the DS Server Web API and its GET method, which returns how many characters a barcode holds.
- [/documentprocessing/barcodes/minimumtextlength](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/barcodes-minimumtextlength/llms-full.txt): The /documentprocessing/barcodes/minimumtextlength endpoint of the DS Server Web API and its GET method, which returns the fewest characters a barcode needs.
- [/documentprocessing/document/append](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-append/llms-full.txt): The /documentprocessing/document/append endpoint of the DS Server Web API and its POST method, which combines several documents into one document.
- [/documentprocessing/document/convert](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-convert/llms-full.txt): The /documentprocessing/document/convert endpoint of the DS Server Web API and its POST method, which converts a document into another supported format.
- [/documentprocessing/document/findandreplace](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-findandreplace/llms-full.txt): The /documentprocessing/document/findandreplace endpoint of the DS Server Web API and its POST method, which replaces text in a template to create a document.
- [/documentprocessing/document/info](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-info/llms-full.txt): The /documentprocessing/document/info endpoint of the DS Server Web API and its POST method, which returns the properties and merge fields of a document.
- [/documentprocessing/document/installedprinters](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-installedprinters/llms-full.txt): The /documentprocessing/document/installedprinters endpoint of the DS Server Web API and its GET method, which lists the printers installed on the server.
- [/documentprocessing/document/merge](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-merge/llms-full.txt): The /documentprocessing/document/merge endpoint of the DS Server Web API and its POST method, which merges hierarchical JSON data into a template.
- [/documentprocessing/document/thumbnails](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/document-thumbnails/llms-full.txt): The /documentprocessing/document/thumbnails endpoint of the DS Server Web API and its POST method, which renders the pages of a document as images.
- [/documentprocessing/pdf/acroforms/fields](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-acroforms-fields/llms-full.txt): The /documentprocessing/pdf/acroforms/fields endpoint of the DS Server Web API and its POST method, which returns the AcroForm fields of a PDF document.
- [/documentprocessing/pdf/create](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-create/llms-full.txt): The /documentprocessing/pdf/create endpoint of the DS Server Web API and its POST method, which creates a PDF or PDF/A document from an input document.
- [/documentprocessing/pdf/embeddedfiles](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-embeddedfiles/llms-full.txt): The /documentprocessing/pdf/embeddedfiles endpoint of the DS Server Web API and its POST method, which extracts the files attached to a PDF document.
- [/documentprocessing/pdf/metadata](https://docs.textcontrol.com/ds-server/reference/web-api/documentprocessing/pdf-metadata/llms-full.txt): The /documentprocessing/pdf/metadata endpoint of the DS Server Web API and its POST method, which reads the XMP metadata of a PDF document.

---

## Nearby

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