Skip to content

MPG to MKV Converter

Convert MPG to MKV online, free. Keeps every audio and subtitle track.

  • Free to use
  • No file stored beyond 1 hour
  • Encrypted over TLS 1.2/1.3
  • No watermarks

Drag and drop your files here or click to upload.

Maximum file size is 1GB

Like RunConvert? Set us as a preferred source on Google.

Add to Preferred Sources

How to convert MPG to MKV

Everything happens in your browser tab - upload your MPG, pick MKV or any other supported format, download. The heavy lifting runs on our servers.

  1. Upload MPG

    Drag and drop your MPG files, click to browse, or paste a URL. Up to 20 files at once.

  2. Choose MKV

    MKV is already selected. Switch to any other supported format if you need to - no account needed.

  3. Convert & download

    Hit Convert and download your MKV moments later. Originals are erased when the job completes; results are cleared within about an hour.

Why convert MPEG to MKV?

MPEG and MKV are both lossy formats.

  • Where MKV works best

    Movies with several audio tracks and subtitles.

MPEG vs MKV: what's the difference?

PropertyMPEGMKV
TypeVideoVideo
CompressionLossy (smaller files, some quality loss)Lossy (smaller files, some quality loss)
Opens inMost desktop players and VLCVLC and most desktop players; few phones, TVs or browsers
Best forDVD-era and broadcast videoMovies with several audio tracks and subtitles

What is an MPG file?

MPEG Video File

Developed By
ISO / IEC
Initial Release
1993
MIME Type
video/mpeg

The MPG file extension is functionally identical to the MPEG format, restricted historically to a three-letter filename in MS-DOS and early Windows environments (8.3 filename convention). It typically contains video and audio interleaved in an MPEG-1 or MPEG-2 Program Stream (PS) container. MPG files are standard for VCD (Video CD) and DVD-Video content, utilizing inter-frame compression to reduce file size while maintaining VHS-comparable or broadcast-quality resolution depending on the bitrate and standard version utilized.

How to open an MPG file

Due to its legacy status as a standard distribution format, MPG files open natively on almost all desktop and mobile platforms without external codecs. Windows Media Player, Apple QuickTime, and GNOME Videos handles MPG-1 and MPEG-2 streams automatically. If playback issues occur due to corrupted headers or proprietary data streams, VLC Media Player is the industry-standard fallback utility.

What is an MKV file?

Matroska Video Container

Developed By
Matroska (non-profit)
Initial Release
2002
MIME Type
video/x-matroska

The Matroska Video (MKV) file is an open-standard, free container format capable of holding an unlimited number of video, audio, picture, or subtitle tracks in one file. Unlike proprietary containers, Matroska is structured upon Extensible Binary Meta Language (EBML), allowing for significant flexibility and forward compatibility. It supports a vast array of codecs, including H.264, VP9, HEVC, AAC, Vorbis, and FLAC, and is particularly noted for its support of soft subtitles (SSA/ASS) and chapter entries, making it a standard for high-definition video distribution (HD) and anime fansubs.

How to open an MKV file

Native support for MKV is available in Windows 10/11 via the Movies & TV app and generally on Linux distributions. macOS requires third-party software, as QuickTime Player does not natively parse the Matroska container. The industry-standard solution for all operating systems is VLC Media Player, which includes built-in libraries for decoding the diverse codecs often encapsulated within MKV files. Alternative options include MPV and MPC-HC (Windows).

Free tools for these files

More free video tools

All video conversions

The fastest way to convert any file

Purpose-built for speed, privacy, and breadth of format support.

  • Convert MPG to MKV in seconds

    Every MPG to MKV conversion runs on our servers, so your device stays fast and the output quality stays intact.

  • Fast, cloud-powered

    No queue, no waiting. Files are processed on high-performance servers and returned in seconds, even for large files.

  • Secure & private

    Encrypted in transit and never shared with anyone. Uploads are erased the moment your job completes, and results shortly after.

  • Free - no account needed

    Convert without creating an account - no credit card, no trial clock. Sign in only if you want history and higher daily limits.

Convert MPG to MKV via API

Automate MPG to MKV conversions in three steps: create a job, upload your file, then poll for the result.

Replace YOUR_API_KEY with your RunConvert API key. Get your free API key at runconvert.com/api.

# 1. Create job
curl -X POST https://api.runconvert.com/v3/jobs \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tag": "mpg-to-mkv",
    "tasks": {
      "upload-file": {
        "operation": "import/direct/upload"
      },
      "convert": {
        "operation": "convert",
        "input": "upload-file",
        "input_format": "mpg",
        "output_format": "mkv"
      },
      "export-result": {
        "operation": "export/url",
        "input": "convert"
      }
    }
  }'

# 2. Upload your file (upload_url of the upload-file task in the response)
curl -X PUT "$UPLOAD_URL&filename=input.mpg" --upload-file input.mpg

# 3. Poll for result
curl https://api.runconvert.com/v3/jobs/$JOB_ID?include=tasks \
  -H "Authorization: Bearer YOUR_API_KEY"

Like RunConvert? Set us as a preferred source on Google.

Add to Preferred Sources