---
id: base64
title: Base64 Upload
example-tags: [antd, upload]
---

**refine** allows you to upload your files or images in your forms as Base64 Upload. When uploading a file or an image to a source, you can complete your upload by encoding it to Base64. In this example, you'll learn how to use **refine**'s file2Base64 function to upload a file as Base64.

[Refer to the **refine** Base64 Upload documentation for more information. →](/docs/3.xx.xx/advanced-tutorials/upload/base64-upload/)

<CodeSandboxExample path="upload-antd-base64" />
