Home›Tools›Image and File Tools

Image and File Tools

Two tools for getting an image to the size and format a page needs. In both, the file stays on your device.

What each tool does

The Image Resizer loads a photo, lets you set new dimensions with the aspect ratio optionally locked, and writes the result as JPEG, PNG, or WebP. Use it to shrink a hero image or to make a thumbnail that fits a fixed slot.

The Image to Base64 tool reads an image and produces a data: URL that can be pasted into HTML, CSS, or JSON. That avoids a separate file request for small icons, at the cost of a longer document.

Format choice matters as much as dimensions: JPEG keeps photographic files small, PNG keeps sharp edges and transparency, and WebP usually beats both at the same visual quality in current browsers. The resizer applies the format you pick when you click Resize. That finished result can be downloaded more than once, but changing the format requires resizing again.

Resize first, embed second

If the image is going into a stylesheet as a data URL, resize it before converting. A full-size photograph becomes a very large string once encoded, and the page has to download all of it as part of the CSS or HTML. Working at the final pixel size keeps the embedded result manageable.

What to expect

Resizing re-encodes the image, so some quality is lost and metadata such as camera details is not carried over. Base64 adds roughly a third to the size of the original bytes. Neither tool uploads the file; both read it in the browser, so the original never leaves your device.

Other tool categories