> For the complete documentation index, see [llms.txt](https://docs.datasaur.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasaur.ai/workspace-management/file-transformer/upload-file-transformer.md).

# Upload File Transformer

To create a file transformer, you can also upload an existing script. Only files with `.js`, `.ts`, and `.txt` extensions are supported.

Use the **Upload** button on the right side of the editor to upload the file.

<figure><img src="https://448889121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbjY0HseEqu7LtYAt4d%2Fuploads%2Fgit-blob-38ed221b914501bf43d13812ff7e08b92ac625a3%2FFile%20transformers%20-%20import%20-%20upload.png?alt=media" alt=""><figcaption></figcaption></figure>

After uploading, the current file transformer will be replaced with the newly updated version.

<figure><img src="https://448889121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbjY0HseEqu7LtYAt4d%2Fuploads%2Fgit-blob-0cc25390c7eede1db44f58bdd4aa571236d44a46%2FFile%20transformers%20-%20import%20-%20filled.png?alt=media" alt=""><figcaption></figcaption></figure>
