How do I compress a video for YouTube without losing quality?
Usually you shouldn't: YouTube takes files up to 256 GB and makes its own streaming versions of every upload, so the original gives it the most to work with. Compress only when the upload is too slow, and then gently: keep the resolution and frame rate, save an MP4, and aim near YouTube's recommended 8 Mbps for 1080p at 30 fps.
We make OctoZip and the online video compressor, so read the tool steps with that in mind. YouTube's figures come from YouTube Help, checked on 1 November 2026 and linked where they're used. Sizes and times are arithmetic, with the compressor's own estimates where marked.
Do I need to compress a video for YouTube?
Only if the upload is the problem. YouTube's limit is 256 GB or 12 hours, whichever is less, far more than a phone records. After an upload, your video is available in low quality first, and 1080p and 4K follow once YouTube has processed them. Every compression pass loses some detail, and YouTube's processing comes on top, so a file you squeezed hard looks worse after both.
| Your situation | What to do |
|---|---|
| The upload finishes in a reasonable time | Upload the original |
| The upload would take hours, or keeps failing on mobile data | Compress to YouTube's recommended bitrate, same resolution and frame rate |
| A 4K video and a very slow connection | Upload the 4K original if you can; if not, 1080p at 8 Mbps |
| The file isn't MP4 | Re-save it as MP4, which YouTube recommends |
What settings does YouTube recommend?
MP4 with H.264 video and AAC sound, at the frame rate you recorded, and these bitrates for standard-range video. From YouTube's recommended upload encoding settings, checked on 1 November 2026:
| Resolution | 24, 25 or 30 fps | 48, 50 or 60 fps | One minute at the lower figure |
|---|---|---|---|
| 720p | 5 Mbps | 7.5 Mbps | About 38 MB |
| 1080p | 8 Mbps | 12 Mbps | About 60 MB |
| 1440p | 16 Mbps | 24 Mbps | About 120 MB |
| 2160p (4K) | 35–45 Mbps | 53–68 Mbps | About 263 MB |
One minute = bitrate × 60 ÷ 8, picture only: 8 × 60 ÷ 8 = 60 MB. YouTube also says to keep the frame rate you recorded at, and recommends stereo sound at 384 kbps. A phone usually records 1080p at a higher bitrate than 8 Mbps, which is why compressing to YouTube's figure saves space without going below what YouTube asks for.
How much upload time does compressing save?
In proportion to the size. A 10-minute 1080p phone video recorded at 17 Mbps is about 1.29 GB (17.2 × 600 ÷ 8 = 1,290 MB). On a 10 Mbps upload, that's 1,290 × 8 ÷ 10 = 1,032 seconds, about 17 minutes. Compressed to 8 Mbps it's about 620 MB and 8 minutes. Try your own numbers in the upload time calculator.
How do I compress a video for YouTube in my browser?
Use our online compressor's YouTube setting, or Target size to match YouTube's bitrate exactly. It runs in recent Chrome or Edge on phones and computers, and the video never leaves your device.
Compress for YouTube in your browser
- Open the compressor set for YouTube: High quality at the original resolution.
- Tap Choose a video. The page shows the size, length, resolution and frame rate, and an estimate.
- To match YouTube's 8 Mbps for 1080p at 30 fps, pick Target size and type 65 MB for each minute (650 MB for 10 minutes). For 1080p at 60 fps, type 96 MB a minute for 12 Mbps.
- Tap Compress video, keep the tab open, then Download the MP4 and upload it to YouTube.
Why 65 MB a minute: the compressor aims about 5% under the size you type and the sound keeps its own share, so 65 MB a minute leaves about 8 Mbps for the picture. Its plan for a 10-minute 1080p video at 650 MB is 1920 × 1080 at 8.0 Mbps, about 624 MB. The YouTube setting on its own (High quality) gives about 6 Mbps for 1080p at 30 fps, a little under YouTube's figure: fine for a talking head, softer for sport or fast motion. For 4K it plans about 19.5 Mbps, well under YouTube's 35–45, so upload 4K originals as they are if you can.
How do I compress a video for YouTube on Android with an app?
In OctoZip, use Best Quality, which keeps the resolution, and save an MP4. The app works without an internet connection and never uploads the video.
- Install OctoZip from Google Play and tap Pick a video.
- Choose Best Quality. Choose Medium file only for a 4K video you're happy to post at 1080p. Tap Apply.
- Keep MP4 as the output format and tap Start Compression.
- Tap Compare, check fine detail, then Save compressed video and upload the copy in the YouTube app.
The app has no size-in-MB option, so it can't aim at 8 Mbps the way Target size can. It's free with no ads; free users see a full-screen Pro offer after every second saved video. It runs on Android 7.0 or later.
How do I compress a video for YouTube on a computer?
- Any computer: the online compressor above, in Chrome or Edge.
- Mac: QuickTime Player's File › Export As › 1080p, with Greater Compatibility for H.264 (Apple's guide). It sets the resolution; Apple doesn't give a bitrate.
- HandBrake: its Creator presets (Creator 1080p60, Creator 2160p60 4K and others) are made for uploads to video sites. See our HandBrake comparison.
Questions people ask
Does compressing a video before YouTube lower the quality?
A little, and YouTube's own processing comes on top. Compressing near YouTube's recommended bitrate keeps the loss small; compressing far below it shows. More in does compressing a video reduce quality?
Why does my video look blurry right after uploading?
YouTube makes the low-quality version available first and higher qualities later. Wait for processing before you judge; see why a YouTube video looks blurry after upload.
What about YouTube Shorts?
The same advice applies: upload the original vertical video if you can. The length rules are in YouTube Shorts length limits.
Can I upload a video longer than 15 minutes?
Yes, once your account is verified; that's a length rule, and compressing doesn't change it. See YouTube upload limits.
What this page doesn't cover
- HDR and 5.1 sound. YouTube has separate recommendations for HDR uploads; the online compressor saves HDR videos in standard range.
- We didn't upload test videos to YouTube for this page. The sizes and times are arithmetic and the compressor's estimates.
- The online compressor does one video at a time, up to about 1–2 GB, and is made for recent Chrome and Edge.
Sources
Checked on 1 November 2026.
- YouTube Help: recommended upload encoding settings, upload videos longer than 15 minutes (maximum upload size) and video resolution and processing.
- Apple Support: Export movies in QuickTime Player on Mac.
- HandBrake documentation: official presets.
- OctoZip: the online compressor's planning code, which gave the estimates above, and the app's code.