Compress video for WordPress uploads

Turn a large video into a 24 MB MP4 that fits many default PHP upload configurations and costs less bandwidth when embedded on a WordPress page.

Cloud processing · No watermark · Guest trial up to 200 MB and 3 minutes.

WordPress has no universal upload limit. Your host, PHP post_max_size, multisite policy or media plugin can enforce another value.

From source file to delivery

  1. Check the effective site maximum

    Open the Media uploader or Tools → Site Health → Info and note the maximum effective file size before choosing the target.

  2. Encode a 24 MB H.264 MP4

    Keep the preset when it is below the site maximum. Enter a smaller number if the host reports a tighter PHP limit.

  3. Upload and test the article

    Add the result to the Media Library, publish a preview and check playback, page transfer and layout on mobile.

WordPress video constraints are separate

WordPress video constraints are separate
ConstraintWhere it comes fromResponse
Upload rejectedPHP, host or WordPress policyCompress below the effective maximum
Page loads slowlyVideo transfer and embed behaviorUse a smaller asset or hosted player
Storage grows quicklyMedia Library and backupsKeep masters outside the delivery library

PHP decides whether the upload reaches WordPress

WordPress calculates the effective upload maximum from server settings such as upload_max_filesize and post_max_size. The smaller applicable value wins, and hosting providers can impose additional policy.

A 24 MB target works for many sites configured around 25 or 32 MB, but it is not magic. If Site Health reports 8 MB, type a target under 8 MB or change the server configuration through the host.

Passing Media Library is only the first check

A self-hosted video can increase page transfer, storage and backup size. Preview the published article on mobile and compare whether an external streaming embed would serve the audience better.

Keep the high-quality master outside the Media Library. The WordPress copy is a delivery asset and should not become the only version available for future edits.

Questions before you compress

What is the WordPress video upload limit?

WordPress does not set one universal number. The effective maximum depends on PHP, the host, multisite rules and plugins.

Where can I see the current maximum?

The Media uploader often displays it, and Tools → Site Health → Info includes the maximum effective file size reported by WordPress.

Will compressing to 24 MB speed up the page?

It reduces the asset transfer compared with a larger source, but loading behavior, hosting and the rest of the page still determine performance.

References and next steps

Guide updated 2026-11-17. External applications and account rules can change.

Have a strict size budget? Use the bitrate calculator. For source files near the upload ceiling, check the large video limits. Read the privacy policy before sending sensitive material.