---
title: "FileUploadHandler"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/form-data-parser/src/lib/form-data.ts#L95"
---

# FileUploadHandler

## Summary

Transforms an uploaded file into the value stored in the parsed [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData).

## Signature

```ts
interface FileUploadHandler {
  (file: FileUpload): string | void | Blob | Promise<string | void | Blob | null> | null
}

```