To overlay images for a website, place one JPG, PNG, or WebP over a base image, choose center or a corner, adjust scale and opacity, and download a flattened PNG with the base image's exact dimensions.
The Image Overlay tool combines the two source images directly in your current browser tab. It creates one static composition for tasks such as placing a logo on a hero image, adding a corner badge, or preparing a subtle watermark graphic. Neither source file is sent to an external processing service.
If the website needs a layered effect that responds to screen size or interaction, keep the PNG as a separate asset and implement that behavior in HTML or CSS. The downloaded result is a fixed, flattened image rather than a multilayer document.

What the downloaded website asset contains
The base image defines the canvas. Its natural width and height are preserved exactly in the export, even when the on-page preview is visually reduced to fit the interface. The overlay is drawn on that canvas, and the finished composition is encoded as PNG.
- The base is drawn across the full canvas without a global opacity adjustment, while its own transparent pixels remain transparent.
- The second image follows the selected center or corner position, scale, and opacity.
- PNG transparency remains wherever neither source contributes visible color, although JPEG inputs have no transparent pixels.
Prepare files that will render
Check both files before starting. The base determines the final canvas size, while the overlay is scaled relative to its own natural dimensions. The overlay is not automatically resized to fit the base.
- Each source may be JPG, PNG, or WebP, with a maximum compressed file size of 25 MiB, or 26,214,400 bytes.
- After browser decoding, each image is limited to 40,000,000 pixels and 20,000 pixels on either side.
- GIF, SVG, AVIF, and other file formats are outside the supported scope, so animated overlays cannot be used in this workflow.
- A PNG or WebP overlay is useful when its design includes transparent pixels. JPEG does not provide transparency.
- Both files are processed locally, and no account or external processing service is required.
A file can pass the compressed-size check and still exceed a decoded image limit. Invalid dimensions, empty files, oversized files, and images that cannot be decoded are rejected without producing a partial composition.
Create a website-ready overlay
- Select the base image. Choose a JPG, PNG, or WebP file within the supported limits. Its natural width and height will become the exact pixel dimensions of the downloaded PNG.
- Select the overlay image. Choose a second JPG, PNG, or WebP file. This is the only image placed above the base, so use the design that should appear as the top layer.
- Choose a position. Select center, top left, top right, bottom left, or bottom right. Each option uses fixed coordinates based on the base and scaled overlay dimensions.
- Adjust scale and opacity. Set the overlay scale from 10% to 200% and its opacity from 0% to 100%. The scale percentage refers to the overlay's original size, not the width of the base.
- Create, inspect, and download. Generate the full-base-size PNG, examine the preview for alignment, visibility, and clipping, then download the result. If you replace a file or change a setting afterward, create the composition again because the previous output is removed rather than silently reused.
Choose a predictable position
The available positions are deterministic rather than free-form. This makes them suitable for repeatable website assets because the same source images and settings produce the same placement.
| Position | Placement of the scaled overlay |
|---|---|
| Top left | Starts at the base's upper-left coordinate, with the top and left edges aligned. |
| Top right | Aligns the overlay's right edge with the base's right edge. |
| Bottom left | Aligns the overlay's bottom edge with the base's bottom edge. |
| Bottom right | Aligns both the right and bottom edges with the corresponding base edges. |
| Center | Centers the overlay mathematically in both directions; an odd remaining dimension may produce a half-pixel coordinate. |
If the scaled overlay is larger than the base, the selected position is still applied. Parts outside the fixed canvas can have negative coordinates and are clipped; the base is never enlarged to accommodate them. Lower the scale or revise the overlay source when important content would be cut off.
Control scale and opacity
Overlay dimensions equal the source's natural dimensions multiplied by the selected percentage. The calculation for width is natural overlay width × scale ÷ 100, and the same factor applies to height. For example, an 800-pixel-wide overlay at 50% becomes 800 × 50 ÷ 100 = 400 pixels wide, with half its natural height. Scaling both dimensions by the same factor preserves the overlay's aspect ratio.
Opacity controls the overlay's global contribution to the composition. At 0%, the overlay is fully transparent, but the tool still creates a base-size PNG. At 100%, the overlay's own alpha channel is used unchanged. Intermediate values multiply the overlay's contribution by the chosen opacity, while transparent pixels already present in a PNG or WebP remain transparent.
| Website goal | Useful overlay source | Composition approach |
|---|---|---|
| Brand mark on a hero image | Logo PNG or WebP with transparency | Place it in a corner or at center, then reduce its scale if the natural size is too large. |
| Corner badge | Small badge or label graphic | Select the matching corner and adjust the scale relative to the badge's original dimensions. |
| Subtle watermark | PNG or WebP watermark graphic | Use partial opacity so the base remains visually dominant. |
| Decorative texture | Static PNG, JPG, or WebP texture | Center the texture and tune opacity according to the strength needed on the page. |
Add the finished PNG to a website
The export is a standard PNG, so you can use it as a normal website image asset after downloading it. Its intrinsic dimensions remain the base image's dimensions even if the browser later displays it at a smaller size.
- For a regular image element, set the intended display dimensions while preserving the PNG's aspect ratio.
- For a CSS background, allow the stylesheet to control display size separately from the exported pixel dimensions.
- Give an informative overlay meaningful alternative text; mark a purely decorative version as decorative in the page markup.
- Check the full-size PNG in its intended context before publishing, especially when the base contains text or important facial details.
Check limits before publishing
The workflow is intentionally focused on one predictable overlay. It supports five positions, percentage-based scaling, and global opacity, but it does not provide a full design editor.
- Rotation, free dragging, arbitrary coordinates, margins, blend modes, masks, background removal, repeated tiling, and multi-layer editing are not available.
- Only one overlay is combined with the base in each composition.
- Browser interpolation is used when the overlay is not drawn at 100%, so reducing or enlarging it can soften edges.
- Exporting to PNG does not promise to preserve EXIF metadata, camera metadata, animation, embedded text metadata, or the original compression.
- Decode failures, unavailable canvas support, drawing errors, PNG encoding problems, and download failures produce explicit errors and remove stale output.
For precision, calculate the desired final overlay width from its natural width and selected percentage, inspect the downloaded PNG at full size, and keep both original files. If the overlay needs a precise width, crop or resize its source before beginning rather than expecting the percentage to represent a percentage of the base.
If you're weighing options, Split Image Into Grid for Website Layouts and Assets covers this in detail.
If you're weighing options, Overlay Images With No Sign-Up: Create a PNG Locally covers this in detail.