> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/summary-1/converting-a-file-to-pdf.md).

# PDFs

Automation procedures for converting files to PDF.

## Convert from Word Document to PDF

To convert from Word (`.doc` or `.docx`) to portable document format (`.pdf`):

```
the file is the document
read the file as a pdf
```

## Convert Picture to PDF

To convert a picture (`.jpg` / `.png`) to portable document format (`.pdf`):

```
convert a file to a pdf file with
    the file is the picture
```

## Working with `.tif` and `.tiff` Files

To work with `.tif` or `.tiff` files in Kognitos, you can convert them to PDF format and use PDF operations on them. To convert to PDF, use the following syntax:

```
read a file as a pdf
```
