RecordHTML

RecordHTML guides

Backup GIFs for HTML5 banners: sizes and file-size limits

A backup GIF is a separate advertising asset, not simply an HTML5 ZIP with a different extension. Start by checking whether the destination actually requests an animated GIF, a static fallback, or both. Then plan the dimensions, animation length and file budget together. This guide separates the limits of the recording tool from the rules of the ad network, because a file that RecordHTML can generate is not automatically an acceptable campaign upload.

Create an account or sign in, then review your settings. Your URL and output format carry over. Choose your ZIP file in the recorder after signing in; no file is uploaded on this page.

Get the correct placement specification

Ask for the exact ad product, placement dimensions and accepted asset types. The same company can have different requirements for uploaded display ads, hosted HTML5, video inventory and managed campaign delivery. A specification for one of those should not be copied into the others. Save the source link and the date you checked it alongside the creative brief.

Do not assume animated GIF is an acceptable fallback wherever HTML5 is accepted. The destination may require a still image, enforce a maximum animation length, restrict looping or validate a package differently. A guide can explain these distinctions, but the current platform validator and campaign specification remain the authority for an actual submission.

Google Ads uploaded display GIFs: a scoped example

The Google Ads uploaded display ad specification lists GIF, JPG and PNG image ads with a maximum size of 150 KB. For animated GIFs it states a maximum animation length of 30 seconds, looping that stops after 30 seconds, and animation slower than 5 fps. These rules belong to uploaded display ads, not every Google advertising product or every ad network.

For that specific requirement, a whole-number GIF recording rate below 5 fps is necessary, and an endless loop would not satisfy the stated stop rule. Check whether a single-play output and the actual animation length satisfy the brief. Display & Video 360 and other platforms must be checked separately; no unverified universal limit is supplied here.

Keep banner dimensions exact

Start with the original canvas, such as 300×250, 300×600 or 728×90. Resizing to a standard video aspect ratio changes the asset and may make it unsuitable for the placement. Keep important copy inside the composition, and inspect the final state at the real display size rather than judging only a magnified preview.

RecordHTML GIF output is limited to 2,073,600 pixels per frame, equivalent to 1920×1080. That is a product output ceiling, not an ad-network recommendation. Most display banners are much smaller. Larger source viewports can be cropped or scaled, but you should preserve the required final dimensions and verify that thin lines and small text remain legible.

Budget frames, length and visual complexity

GIF recording accepts whole-number frame rates from 1 to 30 fps. It does not accept 29.97 or 59.94 fps and cannot include audio. Reducing frame rate can reduce the number of frames, but it also changes motion. A shorter animation with a clear final frame is often easier to deliver than a long sequence containing many subtle changes.

File size also depends on the visual content. Gradients, textures, photographic backgrounds and continuous full-frame motion can create a different file budget from a simple logo and text animation. There is no fixed guarantee that a chosen duration and frame rate will fit a network limit. Generate the actual file, measure it and iterate.

Treat playback count as part of the brief

Choose looping or single-play output deliberately. A continuous loop may be useful for a preview but unsuitable for a placement with an animation-time rule. Do not assume an end marker or a short capture automatically changes the GIF playback count. Review what the file does when opened again and when embedded in the intended environment.

If the brief requires an exact finite repeat count that the current loop-or-once controls do not express, do not claim compliance based on approximation. Use an approved post-processing workflow or request a suitable alternative asset. Similarly, if the destination needs a static fallback, deliver a proper approved still rather than assuming the first GIF frame will be used.

Validate the delivered asset and document changes

Download the final GIF and inspect its dimensions, measured file size, visible duration and playback behavior. Keep the HTML5 source and recording settings so a revised message or logo can be exported consistently. If the GIF is too large, adjust one variable at a time: shorten the sequence, reduce the frame rate or simplify the source artwork before sacrificing required dimensions.

The six topic pages explain the tool settings, while the linked network documents define placement-specific acceptance. Neither this guide nor a successful recording is a guarantee that the campaign will pass an ad review. Check the final upload with the destination platform and resolve any reported issue against its current requirements.

Sources and scope

Checked October 22, 2026. Destination specifications and third-party tools can change. Follow the linked documentation and your actual placement brief rather than treating this guide as network approval.