How to Convert HEVC to H.264 (Free Methods for Mac, Windows, iPhone)

By Hieu Dinh

You shoot a clip on a recent iPhone, AirDrop it to a friend, and they get back a "this video can't be played" error. Or you drop a .mov into an older Premiere project and the timeline shows a black rectangle. Or your CMS rejects the upload because the browser preview won't render. In every one of those moments, the fix is the same: convert HEVC to H.264.

HEVC (also called H.265) is the modern codec your phone, camera, and screen recorder default to. It produces smaller files at the same visual quality as H.264 — great for storage, terrible for compatibility. Older devices, older editing software, and most web browsers don't decode HEVC reliably. H.264 is the safer, universally-supported alternative.

This guide covers every free method to convert HEVC to H.264 — on Mac, Windows, iPhone, online, and via FFmpeg — plus what you trade off in file size and quality.


Why Convert HEVC to H.264?

Four common reasons drive people to convert HEVC to H.264:

Compatibility with older devices. HEVC requires hardware decoding to play smoothly. Phones, tablets, and smart TVs older than around 2017 either can't decode HEVC at all or fall back to battery-draining software decoding. H.264 runs on virtually everything.

Editing in older NLEs. Premiere before 2018, older Final Cut builds, Shotcut, Kdenlive, and DaVinci Resolve on Windows without Studio have historically struggled with HEVC. Even on supported versions, HEVC timelines stutter without a strong GPU. Converting sources to H.264 makes editing smoother.

Web playback. HTML5 <video> depends on browser codec support. Chrome added HEVC playback in late 2022 but still requires hardware support; Firefox only plays HEVC where the OS provides a decoder. For a public audience, H.264 is the only safe choice.

Social media and messaging. Discord, Slack, Twitter, and email attachments handle H.264 more reliably than HEVC. Some platforms also re-encode HEVC uploads anyway, introducing double-compression artifacts — converting first puts the quality tradeoff in your hands.

For a deeper look at the codecs, see HEVC vs H.264 and HEVC codec explained.


HEVC vs H.264: Quick Comparison

AttributeHEVC (H.265)H.264 (AVC)
Year released20132003
File size at same quality100% (baseline)150–200%
Visual quality at same bitrateBetterGood
Browser supportPartial (Chrome 2022+, Safari)Universal
Mobile hardware decodeiPhone 6+ / Android 2017+Effectively all devices
Editing software supportMixedUniversal
Encoding speed (CPU)SlowFast
Patent licensingComplex (multiple pools)Established

H.264 files are roughly 1.5–2x larger than HEVC for the same visual quality, but H.264 plays everywhere. See H.264 vs H.265 and AV1 vs H.265 for the next-generation alternatives, or what is a video codec for the fundamentals.


How to Convert HEVC to H.264 on Mac

macOS has the most options to convert HEVC to H.264 because Apple ships hardware HEVC decoders in every Mac from 2017 onward — re-encoding is fast.

Using Compresto

Compresto is a native macOS app that uses VideoToolbox to convert HEVC to H.264 with hardware acceleration. A 1-minute 4K HEVC clip converts in 5–15 seconds on Apple Silicon, versus 1–2 minutes for CPU-based tools.

  1. Open Compresto
  2. Drag your HEVC video into the window
  3. Select H.264 as the output codec
  4. Adjust the quality slider (60–80% works for most uses)
  5. Click Compress

Compresto preserves audio tracks and metadata, and batches a folder of clips in parallel. See best video converter for Mac for a side-by-side comparison.

Using QuickTime Player (Built-In, Free)

QuickTime is the simplest way to convert HEVC to H.264 if you don't want to install anything:

  1. Open your HEVC video in QuickTime Player
  2. Go to File > Export As
  3. Choose a resolution (4K, 1080p, 720p, 480p)
  4. Make sure HEVC is unchecked — by default QuickTime keeps HEVC
  5. Click Save

QuickTime bakes quality into the resolution choice — no quality slider, no batch, some metadata stripped. Fine for a one-off clip.

Using HandBrake (Free, Open Source)

HandBrake is the most flexible free desktop tool to convert HEVC to H.264 with full control over quality, bitrate, and resolution:

  1. Download HandBrake and open your HEVC file
  2. Set format to MP4
  3. In the Video tab, set Video Codec to H.264 (x264)
  4. Set Constant Quality to RF 20–23 (lower = better quality, larger files)
  5. Click Start Encode

The default x264 encoder is CPU-based — slower but smaller files than hardware encoders. Switch to H.264 (VideoToolbox) for faster hardware encoding. HandBrake also queues batches via Open Source > Open Folder.


How to Convert HEVC to H.264 on Windows

To convert HEVC to H.264 on Windows you need a free third-party tool — Windows lacks a built-in HEVC encoder in most consumer apps. Modern Windows also requires the HEVC Video Extensions package from the Microsoft Store ($0.99, free OEM version often pre-installed) to decode HEVC.

Using HandBrake

The Mac instructions apply identically on Windows:

  1. Install HandBrake for Windows
  2. Open your HEVC file via File > Open Source
  3. In the Video tab, set Video Codec to H.264 (x264)
  4. Set RF to 20–23 for Constant Quality
  5. Click Start Encode

With an Nvidia or AMD GPU, switch the encoder to H.264 (NVEnc) or H.264 (AMD VCN) for hardware-accelerated encoding — significantly faster, slightly larger files at the same quality.

Using VLC

  1. Open VLC and go to Media > Convert / Save
  2. Click Add, select your HEVC file, then Convert / Save
  3. Choose profile Video - H.264 + MP3 (MP4)
  4. Set destination and click Start

VLC transcoding works but is slow with limited quality control. It's a fallback when you can't install other software. For a more detailed Windows-focused walkthrough, see convert high quality videos to smaller files.

FFmpeg on Windows

Download FFmpeg (gyan.dev or BtbN builds), add it to PATH, and run the commands from the FFmpeg section below in PowerShell or Command Prompt.


How to Convert HEVC to H.264 Online

If you want to convert HEVC to H.264 without installing software, browser-based converters work — at the cost of uploading your file to a third-party server.

CloudConvert (cloudconvert.com/hevc-to-h264) is the most reliable free option. Upload, select MP4 (H.264), optionally adjust quality and resolution, download. Free tier: 1GB max, 25 conversions per day.

Convertio (convertio.co) accepts HEVC .mov and .mp4 inputs. Free tier: 100MB; UI is simple, quality control minimal.

Online-Convert (video.online-convert.com/convert-to-mp4) exposes the most options — bitrate, frame rate, audio codec, crop, rotation. Free tier: ~100MB.

The catch: a 4K HEVC clip is often 500MB+, which blows past free-tier limits and takes minutes to upload. For anything larger than a smartphone clip, a desktop tool is faster and more private.


How to Convert HEVC to H.264 with FFmpeg

FFmpeg is the open-source video toolchain that powers most converters, and the canonical scriptable way to convert HEVC to H.264. If you're comfortable in the terminal, FFmpeg gives the most precise control when you convert HEVC to H.264.

Basic conversion

The simplest one-liner to convert HEVC to H.264:

ffmpeg -i input.mov -c:v libx264 -crf 23 -c:a aac output.mp4
  • -i input.mov — your HEVC source file
  • -c:v libx264 — encode video with x264 (H.264)
  • -crf 23 — Constant Rate Factor; 18 is visually lossless, 23 is default, 28 is noticeably compressed
  • -c:a aac — re-encode audio to AAC
  • output.mp4 — the H.264 output

Smaller file size

ffmpeg -i input.mov -c:v libx264 -crf 28 -preset slow -c:a aac -b:a 128k output.mp4

-preset slow tells x264 to spend more CPU finding efficient encoding patterns, producing smaller files at the same quality. Options range from ultrafast (fastest, largest) to veryslow (slowest, smallest).

Hardware-accelerated (Mac)

ffmpeg -i input.mov -c:v h264_videotoolbox -b:v 8M -c:a aac output.mp4

VideoToolbox is 5–10x faster than libx264 but produces slightly larger files at the same visual quality.

Hardware-accelerated (Nvidia)

ffmpeg -i input.mov -c:v h264_nvenc -preset slow -cq 23 -c:a aac output.mp4

AMD GPUs use h264_amf; Intel GPUs use h264_qsv.

Audio passthrough (no re-encode)

ffmpeg -i input.mov -c:v libx264 -crf 23 -c:a copy output.mp4

If source audio is already AAC (most iPhone HEVC is), -c:a copy avoids any audio quality loss and saves time.

Batch convert a folder

Mac/Linux:

for f in *.mov; do ffmpeg -i "$f" -c:v libx264 -crf 23 -c:a aac "${f%.mov}_h264.mp4"; done

Windows PowerShell:

Get-ChildItem *.mov | ForEach-Object { ffmpeg -i $_.FullName -c:v libx264 -crf 23 -c:a aac "$($_.BaseName)_h264.mp4" }

For more on FFmpeg applied to file-size reduction, see make MP4 smaller and how to shrink video file size without losing quality.


How to Convert HEVC to H.264 on iPhone

You can either prevent the iPhone from recording HEVC in the first place, or convert HEVC to H.264 after the fact using a free app or a Shortcut.

Change the recording format

Stop recording HEVC in the first place:

  1. Settings > Camera > Formats
  2. Select Most Compatible instead of High Efficiency

This forces the Camera app to record H.264 going forward. Files will be 1.5–2x larger, but every clip plays on any device. Existing HEVC videos are unaffected.

Note: Most Compatible disables 4K60, 4K30 HDR, 1080p240, and other high-end modes that require HEVC for storage efficiency.

Convert HEVC to H.264 on the device

The free Media Converter (App Store) and paid Video Converter Pro accept HEVC and export H.264 MP4:

  1. Install and grant Photos access
  2. Pick the HEVC clip
  3. Set output to MP4 / H.264
  4. Save back to Photos or Files

The Shortcuts app's Encode Media action also works: build a shortcut with Get Video from Input > Encode Media (H.264) > Save to Photos, then run it from the share sheet on any HEVC video.

For one-off shares, AirDropping the HEVC file to a Mac and using Compresto or QuickTime is usually faster than running the conversion on the phone.


Does Converting HEVC to H.264 Lose Quality?

Yes — every time you convert HEVC to H.264 you lose a little — but the loss is usually invisible.

Both codecs are lossy: every encode discards information. When you convert HEVC to H.264, the source HEVC has already lost some original information vs the raw camera sensor, and the re-encode to H.264 loses a little more (generation loss).

How much loss depends on CRF:

  • CRF 18: Visually lossless. Most viewers can't tell the difference from the source.
  • CRF 20–23: Default range. Tiny artifacts visible only on careful pixel-level inspection.
  • CRF 24–27: Noticeable on detailed content (foliage, fast motion, fine textures).
  • CRF 28+: Visible blocking, smoothing, mosquito noise.

For sharing, social, and web embed, CRF 23 is the right balance. For archival or paid client work, use CRF 18 or stay in an intermediate codec like ProRes.

File size cost: an H.264 export at CRF 23 typically lands 1.5–2x larger than the HEVC original. For more on shrinking the output, see compress video for YouTube and best video format.


FAQ

Is HEVC better than H.264?

For storage and quality-per-byte, yes — HEVC produces files roughly half the size at the same visual quality. For compatibility, no — H.264 plays on virtually every device made in the last 15 years. Choose HEVC for archival and Apple-ecosystem use; choose H.264 for sharing and broad compatibility.

Why won't my HEVC video play?

Three common causes: the device lacks hardware HEVC decoding (common on smart TVs, older Android, budget tablets); the player or browser doesn't support HEVC (Chrome before 2022, Firefox without OS support, older media players); or Windows is missing the HEVC Video Extensions package. Converting to H.264 sidesteps all three.

What's the fastest HEVC to H.264 converter?

On Mac, Compresto with VideoToolbox hardware encoding is the fastest way to convert HEVC to H.264 — a 1-minute 4K clip converts in seconds. On Windows with an Nvidia or AMD GPU, HandBrake with NVEnc/AMD VCN is comparable. FFmpeg with -c:v h264_videotoolbox (Mac) or -c:v h264_nvenc (Windows/Nvidia) is the fastest scriptable option.

Does iPhone record in HEVC by default?

Yes, since iPhone 7 and iOS 11. Settings > Camera > Formats switches between High Efficiency (HEVC) and Most Compatible (H.264). High Efficiency is default because it roughly doubles available recording time. Switch to Most Compatible to always record H.264 — at the cost of some advanced modes like 4K60 and 1080p240.

Can I convert HEVC to H.264 without re-encoding the video?

No. HEVC and H.264 are fundamentally different codecs — there's no remux path between them the way you can change a container (MP4 to MOV) without touching the video stream. To convert HEVC to H.264 you always have to decode and re-encode, which means some quality loss.

Does YouTube accept HEVC uploads?

Yes, YouTube accepts HEVC and re-encodes everything server-side. The practical caveat: uploading HEVC means YouTube does the transcode on its servers, which sometimes produces lower quality than uploading a high-bitrate H.264 master. An H.264 export at 16–25 Mbps (1080p) or 35–45 Mbps (4K) is usually safest.


The short version: if a HEVC video won't play or import, convert HEVC to H.264. On Mac, Compresto is the fastest way to convert HEVC to H.264 — hardware acceleration finishes most clips in seconds. On Windows, HandBrake with NVEnc is the equivalent. To convert HEVC to H.264 from the command line, ffmpeg -i input.mov -c:v libx264 -crf 23 -c:a aac output.mp4 works on any platform.

Download Compresto to convert HEVC to H.264 — plus compress videos, images, and PDFs — natively on your Mac.

Ready to compress your files? Join thousands of creators using Compresto ⚡