Categories

Audio Trim

Trim audio by start and end times

Click to upload file or drag and drop file here

Maximum file size: 200MB Supported formats: audio/*

Key Facts

Category
Media
Input Types
file, text
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Audio Trim is a simple online tool that lets you cut audio files by specifying start and end times. Upload your audio, enter the desired segment boundaries in hh:mm:ss format, and download the trimmed clip instantly.

When to Use

  • When you need to extract a specific segment from an audio recording for editing or sharing.
  • To remove unwanted silence or sections from the beginning or end of an audio file.
  • For creating shorter audio clips from longer tracks, such as podcasts or lectures.

How It Works

  • Upload an audio file in a supported format from your device.
  • Enter the start time and end time in hh:mm:ss[.ms] format to define the segment.
  • The tool processes the audio and provides a download link for the trimmed file.

Use Cases

Creating audio excerpts for social media posts or presentations.
Editing podcast episodes to remove ads or off-topic segments.
Preparing audio samples for music production or educational purposes.

Examples

1. Extracting a Song Clip for a Ringtone

Music enthusiast
Background
You have a full song and want to create a 30-second clip from the chorus for a custom ringtone.
Problem
Need to isolate a specific section without using complex audio editing software.
How to Use
Upload the song file, set start time to 00:01:45 and end time to 00:02:15.
Outcome
Download a 30-second audio clip containing the chorus, ready to use as a ringtone.

2. Trimming an Interview Recording

Journalist
Background
Recorded a 1-hour interview but only need the first 10 minutes for an article excerpt.
Problem
The recording includes extra time that should be removed to focus on the key discussion.
How to Use
Upload the interview audio, enter start time 00:00:00 and end time 00:10:00.
Outcome
Get a trimmed audio file of the first 10 minutes, suitable for transcription or sharing.

Try with Samples

audio, file

Related Hubs

FAQ

What audio formats are supported?

The tool accepts common audio formats like MP3, WAV, and others based on browser compatibility.

How do I specify the time?

Use the format hh:mm:ss[.ms], for example, 00:01:30 for 1 minute and 30 seconds.

Is there a file size limit?

Yes, the maximum file size is 200 MB as per the tool's configuration.

Can I trim multiple segments at once?

No, this tool trims a single continuous segment per operation based on the provided start and end times.

What if the end time exceeds the audio duration?

The tool will trim up to the end of the audio file if the specified end time is beyond the duration.

API Documentation

Request Endpoint

POST /en/api/tools/audio-trim

Request Parameters

Parameter Name Type Required Description
audioFile file (Upload required) Yes -
startTime text Yes -
endTime text Yes -

File type parameters need to be uploaded first via POST /upload/audio-trim to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-audio-trim": {
      "name": "audio-trim",
      "description": "Trim audio by start and end times",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=audio-trim",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]