> ## Documentation Index
> Fetch the complete documentation index at: https://compresto.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to trim video

> Cut the start and end of a video while you compress it

## Overview

You can trim a video in the main window before compressing it, so the output only keeps the part you need. Each video in a batch can have its own trim.

## Trim a Video

**Step 1**

Add one or more videos to the main window

**Step 2**

Hover over the video and press **Trim video**

**Step 3**

Drag the yellow handles on the timeline to set the start and end, then press **Trim**. Press **Cancel** to keep the whole video

**Step 4**

Choose your compression options and press **Compress**

To change a trim, press **Trim video** again. The trim is kept until you load new files or remove the video.

## Good to Know

* A trimmed video is always saved, even if the output isn't smaller than the original. See [Original kept](https://compresto.app/docs/guides/file-compression/output-options.md#original-kept)
* Trims apply to every video output format except GIF, including [MP3 export](https://compresto.app/docs/guides/file-compression/how-to-extract-mp3-from-video.md), and the audio stays in sync
* Trims don't apply when the output format is **GIF**. To make a GIF from part of a video, trim the clip first (for example in QuickTime Player), then [convert it](https://compresto.app/docs/guides/file-compression/how-to-convert-video-to-gif.md)
* Trimming is only available in the main window. Drop Zone, folder monitoring, and deep links compress the whole video


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.