Skip to content

Video Downloader

Paste a link to a post or page. Get the video file, usually MP4, ready to save.

  • Original file
  • No app needed
  • No watermark

Try an example: X post·Facebook video·Streamable clip

How to download a video from a link

Three steps, in the browser you are using right now.

  1. Copy the link

    Open the post or page that plays the video and copy its URL from the address bar or the share menu.

  2. Paste it and find the video

    Paste the link above and press Find video. Microlink opens the page in a real browser and resolves the video file behind the player.

  3. Preview and download

    Play the preview to check it is the right clip, then press Download to save the file the platform serves, in its original quality.

Video downloader API

This page is one API call. Send a link with video enabled and get back the file URL, size, duration and dimensions as JSON.

The following examples show how to use the Microlink API with CLI, cURL, JavaScript, Python, Ruby, PHP & Golang, targeting 'https://streamable.com/moo' URL with 'video' API parameter:

CLI Microlink API example

microlink video https://streamable.com/moo

cURL Microlink API example

curl -G "https://api.microlink.io" \
  -d "url=https://streamable.com/moo" \
  -d "video=true"

JavaScript Microlink API example

import createClient from 'microlink.io'

const microlink = createClient()

const data = await microlink.video('https://streamable.com/moo')

Python Microlink API example

import requests

url = "https://api.microlink.io/"

querystring = {
    "url": "https://streamable.com/moo",
    "video": "true"
}

response = requests.get(url, params=querystring)

print(response.json())

Ruby Microlink API example

require 'uri'
require 'net/http'

base_url = "https://api.microlink.io/"

params = {
  url: "https://streamable.com/moo",
  video: "true"
}

uri = URI(base_url)
uri.query = URI.encode_www_form(params)

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Get.new(uri)
response = http.request(request)

puts response.body

PHP Microlink API example

<?php

$baseUrl = "https://api.microlink.io/";

$params = [
    "url" => "https://streamable.com/moo",
    "video" => "true"
];

$query = http_build_query($params);
$url = $baseUrl . '?' . $query;

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET"
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
    echo "cURL Error #: " . $err;
} else {
    echo $response;
}

Golang Microlink API example

package main

import (
    "fmt"
    "net/http"
    "net/url"
    "io"
)

func main() {
    baseURL := "https://api.microlink.io"

    u, err := url.Parse(baseURL)
    if err != nil {
        panic(err)
    }
    q := u.Query()
    q.Set("url", "https://streamable.com/moo")
    q.Set("video", "true")
    u.RawQuery = q.Encode()

    req, err := http.NewRequest("GET", u.String(), nil)
    if err != nil {
        panic(err)
    }

    client := &http.Client{}
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    body, err := io.ReadAll(resp.Body)
    if err != nil {
        panic(err)
    }

    fmt.Println(string(body))
}

Questions

Copy the link to the post or page that plays the video, paste it into the box at the top, and press Find video. When the preview appears, press Download to save the video file.

Which sites does the video downloader work with?

It works with X (Twitter) posts, Facebook videos, Streamable clips, and any web page that plays its own video file, such as a news article or a product page.
Some platforms keep the file behind a login or a private player. When that happens you get a clear “no video” result, never a broken file. For those links you can still embed the video with its native player.

Is the video downloader free?

Yes. It needs no app and no browser extension. Each search is one Microlink API request: 5 per day without an account, 25 per day with a free one. The download itself is not counted.
Need more? Sign in or pick a plan and the same page runs on your account.

What quality and format will I get?

You get the file the platform serves, at the best quality it offers to a browser, usually MP4. Play the preview to check it before you download. We don’t add a watermark and we don’t re-encode, so what you save is the original file.

Does it work on iPhone and Android?

Yes. It runs in any modern mobile browser. On iPhone, Safari saves the file to Downloads in the Files app. If the video opens in a new tab instead, tap the share button and choose Save to Files.

Why does the video open in a new tab instead of downloading?

Some video hosts only let the browser open their files directly. The downloader then opens the original file in a new tab. Right-click the video and choose Save video as… to keep it.

Do you store the videos I download?

No. Microlink reads the page to find the video file and returns its address. The file goes straight from the platform to your browser and never passes through our servers.
It depends on the video and where you live. Download videos you own, that are in the public domain, or that the creator lets you save, and respect each platform’s terms of service and copyright.

Can I download videos from my own code?

Yes. The page is a single Microlink API request with the video parameter enabled. It returns the file URL with its size, duration, width and height, from any language or from the SDK.

Other questions?

We’re always available at hello@microlink.io.