Video Converter & Compressor: MP4, WebM, GIF, MP3, Images avatar

Video Converter & Compressor: MP4, WebM, GIF, MP3, Images

Pricing

Pay per event

Go to Apify Store
Video Converter & Compressor: MP4, WebM, GIF, MP3, Images

Video Converter & Compressor: MP4, WebM, GIF, MP3, Images

Video converter and compressor API: convert video to MP4, WebM or GIF, extract MP3 audio, compress and resize, plus images (PNG, JPG, WebP, TIFF), PDF to images, merge, split and compress PDFs, Office to PDF. Direct download links.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Data Done Right

Data Done Right

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

This video converter and compressor is also a file converter API: video to MP4, WebM or GIF, audio to MP3, images, PDF and Office files in one place. It is one Actor for every everyday file conversion: PDF, Word, Excel, PowerPoint, images, audio and video. Give it file URLs (or records in your Apify key-value store) and a target format. You get back one row per output file with a direct download URL, size, page count, dimensions or duration. Built for automation workflows (Make, n8n, Zapier, your own API calls) and AI agents, so you don't have to wire up five different converters.

FromToHow
Images: PNG, JPG, WebP, AVIF, TIFF (multi-page too), BMP, GIF (animated too), HEICPNG, JPG, WebP, AVIF, TIFF, BMP, GIFResize (max width/height), quality, strip EXIF/GPS, auto-rotate. Animated GIF to animated WebP keeps the frames
ImagesPDFOne page per image (A4/Letter/… or the image's own size). JPEGs are embedded losslessly
PDFPNG, JPG, WebP, TIFF…One image per page, choose DPI and pages (1-3,5,8-)
Several PDFs / images / Office filesOne merged PDFPut them in one job
PDFSeveral PDFs (split)By ranges (1-2,3-5,6-) or every N pages
PDFSmaller PDF (compress)Lossless clean-up, plus recompresses and downsizes big images (medium/high)
Word / Excel / PowerPoint / ODF / RTF / TXT (docx, doc, xlsx, xls, pptx, ppt, odt, ods, odp, rtf)PDFLibreOffice. Also converts between Office formats (doc→docx, xls→xlsx, ppt→pptx, docx→odt…) and Office pages to images
XLSX / XLS / ODSCSV (one per sheet)Values (not formulas), dates as ISO, optional delimiter / Excel BOM
CSVXLSXNumbers detected (leading zeros like ZIP codes stay text); several CSVs in one job = one workbook with a sheet each
Video (mp4, mov, mkv, webm, avi, wmv, flv, 3gp, ts…)MP4 (H.264/AAC), WebM (VP9/Opus), GIFResolution cap, bitrate, CRF, FPS, trim (start/duration), remove audio
Audio or videoMP3, M4A, WAV, FLAC, OGGExtract or convert audio, bitrate, mono/stereo, sample rate

Video converter and compressor

Give it video URLs and pick MP4, WebM or GIF, plus a resolution cap, to convert and compress video in one batch. Extract the audio as MP3, M4A, WAV, FLAC or OGG. You pay per started minute of output video ($0.017 per minute at 720p and below, counted double at 1080p, and so on up), and failed conversions are free. Each result is a direct download link.

Why use this file converter

  • One tool, one API, one output shape. Agents and workflows call the same Actor for PDFs, photos, Office files and media.
  • Direct download links to every file, stored in the run's key-value store (or a named store you choose).
  • Batch-safe: a broken link, a corrupt file or a too-long video becomes an "status": "error" row (and goes in the FAILED record) with a clear reason; the rest of the batch continues.
  • Safe by default: macros are never executed (fresh LibreOffice profile with macros disabled for every file), per-conversion timeouts, input size cap, sanitized file names, EXIF/GPS stripped from images.
  • Quality-aware: lossless JPEG embedding for images→PDF, fillable PDF forms keep working after merge/split, PDF compression never returns a bigger file.

How to convert files (input)

Simple mode: many files, one target format

{
"urls": [
"https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"https://example.com/photos/IMG_0042.HEIC"
],
"to": "jpg",
"maxWidth": 1600,
"quality": 80
}

Each URL is converted separately. A PDF becomes one JPG per page.

Jobs mode: merge, split, compress, per-job options

{
"jobs": [
{"urls": ["https://example.com/cover.jpg", "https://example.com/report.docx", "https://example.com/annex.pdf"],
"to": "pdf", "outputName": "full-report"},
{"url": "https://example.com/big.pdf", "to": "pdf", "operation": "split", "options": {"ranges": "1-2,3-10,11-"}},
{"url": "https://example.com/scan.pdf", "to": "pdf", "options": {"compression": "high"}},
{"url": "https://example.com/slides.pptx", "to": "png", "options": {"dpi": 110, "pages": "1-5"}},
{"url": "https://example.com/sales.xlsx", "to": "csv"},
{"url": "https://example.com/clip.mov", "to": "mp4", "options": {"maxWidth": 1280, "crf": 26}},
{"url": "https://example.com/clip.mov", "to": "gif", "options": {"startTime": 3, "duration": 5, "maxWidth": 400}},
{"url": "https://example.com/interview.mp4", "to": "mp3", "options": {"audioBitrate": "128k"}},
{"kvStoreId": "my-uploads", "kvKeys": ["invoice-17.docx"], "to": "pdf"}
]
}
  • url / urls / kvKeys (+ kvStoreId, ID or name of your key-value store): the inputs.
  • to: target format: pdf png jpg webp avif tiff bmp gif csv xlsx docx odt rtf txt pptx odp ods mp4 webm mp3 m4a wav flac ogg.
  • operation: auto (default), convert, merge, split, compress. Auto: several inputs + to: "pdf" in one job = merge into one PDF; one PDF + to: "pdf" = compress; everything else = convert each input.
  • options: see below. outputName: base name for the output file(s).
  • Top-level options and the common fields (quality, maxWidth, maxHeight, dpi, pages, compression, pageSize, stripMetadata) apply to every job; a job's own options win.
  • Private Apify record URLs (https://api.apify.com/v2/key-value-stores/.../records/...) work too: the run's own token is sent to api.apify.com only. Dropbox and Google Drive share links are turned into direct downloads.

Options

OptionApplies toMeaning
maxWidth, maxHeightimages, PDF pages, videoFit inside the box, keep aspect ratio, never enlarge. Video defaults to a 1080p box
quality (1-100)JPG/WebP/AVIF, PDF compressionDefault 85 (70 for compress on images)
stripMetadataimagesDefault true: removes EXIF/GPS/camera data (photo is auto-rotated first). Color profiles are kept
lossless, pngColors, backgroundColor, tiffCompressionimagesWebP lossless; PNG palette size (smaller files); fill color for transparent → JPG; TIFF codec (tiff_lzw, tiff_adobe_deflate, raw…)
dpi (24-600), pages, transparentBackgroundPDF/Office → imagesDefault 150 DPI, all pages (up to maxPagesPerFile)
pageSize (A4, Letter, Legal, A3, A5, image), margin (pt), upscaleimages → PDFDefault A4, orientation follows each image
ranges or everyNPagessplit"1-3,4-" = 2 files; default = one file per page
compression (low, medium, high), maxImagePixelsPDF compresslow = lossless only; medium = JPEG q75, max 2000 px; high = q55, max 1400 px
passwordPDF inputsOpens password-protected PDFs
sheets, delimiter, excelBomXLSX → CSVOnly these sheets (names or 1-based numbers); ; or tab; UTF-8 BOM for Excel
delimiter, detectNumbersCSV → XLSXDelimiter is auto-detected by default
startTime, duration (seconds)audio/videoTrim. GIFs default to the first 10 s (max 60 s)
videoBitrate ("1500k", "2M"), crf, fps, preset, removeAudioMP4/WebMDefault CRF 23 (MP4) / 34 (WebM). An H.264/AAC MP4 with no options is remuxed instantly instead of re-encoded
fps, gifColorsGIFDefault 10 fps, 128 colors, 480 px wide
audioBitrate, audioChannels, sampleRateaudioDefault MP3 192k, M4A 160k

What you get back (output)

One dataset row per output file:

{
"jobIndex": 1, "status": "ok", "operation": "convert",
"source": "https://www.irs.gov/pub/irs-pdf/fw9.pdf", "sourceFileName": "fw9.pdf", "sourceFormat": "pdf",
"sourceSizeBytes": 140815, "targetFormat": "png",
"fileName": "fw9-p001.png", "key": "001-fw9-p001.png",
"url": "https://api.apify.com/v2/key-value-stores/AbC123.../records/001-fw9-p001.png?signature=...",
"contentType": "image/png", "sizeBytes": 160712,
"page": 1, "pageCount": 6, "width": 1275, "height": 1650, "dpi": 150
}

Other fields appear when relevant: durationSec, sheet, rowCount, savedPercent, imagesRecompressed, mergedFiles, pages, frames, note. Failed jobs give {"jobIndex": 4, "status": "error", "source": [...], "targetFormat": "mp4", "error": "the input has no video stream; cannot make .mp4"}. The OUTPUT record has a run summary and FAILED lists every problem.

Use cases

  • AI agents and MCP: "convert this DOCX to PDF", "give me page 3 as PNG", "extract the audio as MP3" with one tool and a predictable answer.
  • Workflows: turn email attachments into PDFs, images into web-ready WebP thumbnails, XLSX exports into CSV for a database import.
  • Document pipelines: merge cover + contract + annexes, split scanned batches, shrink scanned PDFs before emailing.
  • Media prep: MP4 for the web, GIF previews, MP3 from recorded calls (from your own files).

Limits (honest)

  • Input files up to 200 MB by default (maxFileSizeMb, hard cap 500 MB). Audio/video up to 30 min per file by default (maxMediaMinutes, max 180); trim longer media with startTime/duration. Video output is capped at 1080p unless you set maxWidth/maxHeight.
  • Office conversion uses LibreOffice: very complex layouts, exotic fonts and SmartArt can render slightly differently from Microsoft Office. Common fonts (Calibri, Cambria, Arial, Times New Roman) use metric-compatible substitutes. Macros are never run. Encrypted Office files are not supported.
  • HTML/TXT → PDF is a simple document render (no JavaScript, no browser). Use a browser-based tool for web pages.
  • PDF → Word/Excel (reverse conversion) and OCR are not included.
  • Only public URLs or your own Apify storage. No login pages, no bot-protection bypass.
  • Output files live in the run's key-value store and follow your Apify data retention. Use outputStoreName to keep them in a named store.

How much does it cost

Pay per event:

  • converted-file: a small fee for each output file delivered. A PDF rendered to 10 PNGs is 10 files, and a merged PDF is 1 file.
  • media-minute: each started minute of output video (MP4, WebM, GIF). It counts x2 at 1080p, x4 at 1440p and x8 at 4K, because transcoding HD video uses far more compute than a document. A GIF always counts as 1.
  • audio-minute: each started minute of output audio (MP3, M4A, WAV, FLAC, OGG).

Failed conversions are free. maxOutputFiles and maxMediaMinutes cap your cost. Each row shows billedMediaMinutes for media outputs.

FAQ

How do I convert a file to PDF?

Put the file URL in urls and set to to pdf. Word, Excel, PowerPoint, OpenDocument, RTF, TXT and images all work. Several inputs with to: "pdf" in one job are merged into one PDF.

Can it merge, split or compress a PDF?

Yes. Use jobs with operation set to merge, split or compress. Splitting takes page ranges such as 1-2,3-5,6- or every N pages. Compression comes in low, medium and high and never returns a bigger file.

Are online file converters safe? Do they keep my files?

Your files are downloaded from the URLs you give and the results are written to your own run's key-value store, which follows your Apify data retention. Office files are opened with macros disabled, and image EXIF and GPS data are removed by default. Use only links you trust, and do not send secrets in URLs.

Can it convert PDF to Word or run OCR?

No. PDF to Word or Excel and OCR are not included. For scanned PDFs use the PDF to Text converter listed below.

Can I convert video to MP4 or GIF, and video to MP3?

Yes. Video can be converted to MP4, WebM or GIF with resolution, bitrate and trim options, and audio or video can be converted to MP3, M4A, WAV, FLAC or OGG.

How is it priced?

You pay per output file, plus per started minute for video and audio output. Failed conversions are free, and maxOutputFiles and maxMediaMinutes cap the cost of a run.

  • PDF to Text & Markdown Converter with Automatic OCR reads the text and tables of PDFs and scans.
  • Extract ZIP Files: Unzip Archives & Email Attachments unpacks archives before you convert what is inside.
  • Transcribe Audio to Text: Files, Podcasts & Video URLs turns the audio you extract into a transcript.

Questions this Actor answers

  • How do I convert a MOV or WebM video to MP4?
  • How do I compress a video file before sharing it?
  • How do I make a GIF from an MP4 video?
  • How do I extract the audio from a video as MP3?
  • How do I convert HEIC photos to JPG?
  • How do I shrink image file size and strip GPS and EXIF data?
  • How do I merge several PDFs into one PDF?
  • How do I split a PDF into single pages or page ranges?
  • How do I compress a large PDF?
  • How do I turn each PDF page into a PNG or JPG image?
  • How do I convert Word, Excel or PowerPoint files to PDF?
  • How do I convert a TIFF or AVIF image to PNG?

Use with AI agents (Apify MCP)

Add this Actor as its own tool: https://mcp.apify.com?tools=data-done-right/all-in-one-file-converter. Example input: {"urls": ["https://example.com/clip.mov"], "to": "mp4"}.