# Clear or Delete Media

> This page is about FlutterFlow Studio (the visual builder), not FlutterFlow (the app builder you use by describing your app).

URL: https://docs.flutterflow.io/concepts/file-handling/clear-delete-media

Learn how to add clear and delete file actions into your FlutterFlow Studio app.

The **Clear** and **Delete** **Media** actions provide essential functionalities for managing media files efficiently.

## Clear Uploaded Data [Action]

When users upload media files, these files are first stored in a local state variable, i.e., *Uploaded File URL* for immediate access and display. This action is helpful when you want to offer users a straightforward method to remove any uploaded media, such as images or recordings.

:::note

For this action to work, the [**Upload or Save Media**](https://docs.flutterflow.io/concepts/file-handling/uploading-files#upload-or-save-media-action) action must already be added to the actions workflow.

:::

## Delete Data [Action]

The **Delete Data** action permanently removes uploaded media—such as images, videos, and PDF files—from external storage platforms like [Firebase Storage](https://firebase.google.com/docs/storage) and [Supabase Storage](https://supabase.com/storage).

Inside the **URL** section, provide a valid media URL. This must be either the direct **Uploaded File URL** or a variable that holds the URL.

:::tip

Always prompt users for confirmation before deleting media files to prevent accidental loss of data.

:::
