Conversion Plan:
File Size Limit:
Conversions:
0
0
Compress Video to a Target Size
Online Converter: Compress a video to fit a target file size (web-playable MP4)
1
Your file
3
Target file sizeNew
Target: 25 MB
e.g. 100 KB, 2 MB, or 1 GB. A plain number means MB.
Private by default · files deleted in 24hCapterra Best Ease of Use 2025
4
Start Conversion
Compress Video from your AI agent
- Ask your agent: “Compress video.mov to under 25 MB with Conversion Tools.”
- It runs this same converter, so you get the same result
- Right from your workflow, no browser needed
Connect it to:
No-code automation:
From your code:
Set up your agentShow the API code for this converter
python
# Install: pip install conversiontoolsfrom conversiontools import ConversionToolsClientclient = ConversionToolsClient({'api_token': 'YOUR_API_TOKEN'}) # Get it at https://conversiontools.io/profile# Compress Videoclient.convert('convert.compress_video','video.mp4','result.mp4',# options={'sandbox': True}, # Free testing: a sample result, no quota used)print('File saved to: result.mp4')
javascript
// Install: npm install conversiontoolsimport { ConversionToolsClient } from 'conversiontools';const client = new ConversionToolsClient({apiToken: 'YOUR_API_TOKEN', // Get it at https://conversiontools.io/profile});// Compress Videoawait client.convert({type: 'convert.compress_video',input: './video.mp4',output: './result.mp4',// options: { sandbox: true }, // Free testing: a sample result, no quota used});console.log('File saved to: ./result.mp4');
bash
# Install: nothing, curl comes with macOS, Linux and Windows 10 or later# API token: get it at https://conversiontools.io/profile# Free testing: add "sandbox": true to "options" (a sample result, no quota used)# 1. Upload your filecurl -sSX POST https://api.conversiontools.io/v1/files \-H "Authorization: Bearer YOUR_API_TOKEN" \-F "file=@video.mp4"# 2. Start the conversion with the file_id from step 1curl -sSX POST https://api.conversiontools.io/v1/tasks \-H "Content-Type: application/json" \-H "Authorization: Bearer YOUR_API_TOKEN" \-d '{"type": "convert.compress_video", "options": {"file_id": "<file_id>"}}'# 3. Check the task until "status" is "SUCCESS", then download its "file_id"curl -sSX GET https://api.conversiontools.io/v1/tasks/<task_id> \-H "Authorization: Bearer YOUR_API_TOKEN"curl -sS -o result.mp4 https://api.conversiontools.io/v1/files/<result_file_id> \-H "Authorization: Bearer YOUR_API_TOKEN"
php
<?php// Install: composer require conversiontools/conversiontools-phprequire_once __DIR__ . '/vendor/autoload.php';use ConversionTools\ConversionToolsClient;$client = new ConversionToolsClient(['api_token' => 'YOUR_API_TOKEN', // Get it at https://conversiontools.io/profile]);// Compress Video$client->convert('convert.compress_video','video.mp4','result.mp4',// ['sandbox' => true], // Free testing: a sample result, no quota used);echo "File saved to: result.mp4\n";
Replace YOUR_API_TOKEN with the token from your profile. Options for every converter
Need a different result? Build your own converter with AI
- Describe the result you want in plain words, no coding
- Other columns, a different layout, or a format we don't list
- Test it on your own file before you use it
- Free to build and test, then runs on your plan's limits
- Sign in to work securely with your files. Sign in or Sign up for full access.
- Conversion time varies by file size; thank you for your patience.
- Limits apply to maximum conversions and file size. See available plans on the Pricing page.
- Unregistered users: up to 5 conversions/day, up to 50 conversions/month, and 10 MB per file. Sign up to extend your limits.
- Need help converting files? Contact us.