Skip to content

By Sakshi • 6 min read

Bookmark a Resize: Preset Any Size in a URL

If you resize to the same dimensions regularly, you can put those settings in a link. Open it and the fields are already filled in — no clicking through the same four inputs every time.

The resizer reads its starting settings from the URL. That means any combination of width, height, file size, unit, DPI and output format can be captured as a plain link, which you can bookmark, pin to a phone home screen, put in a team wiki, or paste to a colleague.

This page is the full reference. Nothing here is a hidden API — it's the same mechanism the preset buttons on our platform pages use, documented so you can build your own.

Ready-made links

Click any of these to see it work, then bookmark the ones you'll reuse.

Instagram square post /?w=1080&h=1080

1:1 at full supported resolution.

Instagram portrait /?w=1080&h=1350

4:5 — the tallest ratio Instagram will not crop.

YouTube thumbnail /?w=1280&h=720

16:9 at the size YouTube recommends.

LinkedIn banner /?w=1584&h=396

4:1 profile background.

Exam photo, 50 KB cap /?w=200&h=230&kb=50&format=jpeg

Dimensions, size and format in one link.

Signature, 15 KB cap /?w=140&h=60&kb=15&format=jpeg

Wide, short, and tightly compressed.

3.5 × 4.5 cm at 300 DPI /?unit=cm&dpi=300

Print units — type 3.5 and 4.5 directly.

iPhone HEIC → JPG /?convert=heic

Output preset to JPEG on arrival.

Parameter reference

Combine any of these with &. Order doesn't matter, and anything unrecognized is ignored rather than breaking the page.

Parameter Accepted values Notes
w whole pixels Target width. Must be paired with h — a width alone is ignored.
h whole pixels Target height. Must be paired with w.
kb a number Target file size in KB. Switches on "compress to target size" automatically.
unit px, inch, cm, mm, percent Which unit the dimension fields display in.
dpi 72–1200 Pixels per inch used for inch/cm/mm conversion. Values outside the range are ignored.
format jpeg, png, webp, bmp, tiff, pdf Output format.
convert heic Conversion shorthand. convert=heic presets HEIC → JPG output.

Building your own

Start with the site root, add ?, then join your parameters with &:

https://modifyimg.com/?w=600&h=800&kb=240&format=jpeg

That one opens the resizer set to 600×800 pixels, JPEG output, compressed to 240 KB or under — a typical passport photo specification. When the page loads you'll see a small Preset badge in the drop zone confirming what was carried over, so you can tell at a glance that the link did what you expected.

Two things to know. Width and height only apply as a pair — ?w=600 on its own is ignored, because a single dimension is ambiguous with the ratio locked. And a kb target needs a lossy format: PNG ignores quality settings entirely, so combine kb with jpeg or webp.

Working in print units

Physical sizes need a DPI to become pixels, because a centimeter isn't a number of pixels until you say how densely they're packed. Set both together:

https://modifyimg.com/?unit=mm&dpi=300

Now the dimension fields accept millimeters, and 35 × 45 mm — the standard photo size for UK, Schengen and most ICAO-aligned passports — converts to 413 × 531 pixels at 300 DPI. Switch DPI to 600 and the same physical size becomes 827 × 1063 pixels.

300 DPI is the usual print standard. Use it unless a specification tells you otherwise. There's more on this on the resize in cm, mm and inches page.

Practical ways to use this

  • Pin one to your phone's home screen. If you regularly prepare photos to one spec, a home-screen shortcut to a preset link is two taps from camera roll to correctly sized file.
  • Put them in a team document. Instead of writing "resize to 1200×627 and export as JPEG under 200 KB" in your brand guidelines, link it. Nobody misreads a link.
  • Keep a bookmark folder per project. One link per asset type — hero, thumbnail, social card — and the spec is encoded in the bookmark rather than in your memory.
  • Send one instead of instructions. Helping someone with an application form is much easier when you can hand them a link that's already configured.
  • Sync across devices. Bookmarks sync; a settings panel in a web tool doesn't. The URL is the portable format.

Why the URL and not saved settings

We could have stored your last-used values in the browser and restored them on return. We chose not to, for a few reasons that follow from how the rest of the site works.

Stored settings are invisible — you can't see what state you're in, share it, or version it. A URL is legible, portable and diffable. It survives clearing your browser data, works in private windows, transfers between devices, and can be checked at a glance before you click. It also keeps the site fully static, which is what lets every page be served from a CDN with no server-side state anywhere.

And it means we don't need to keep anything about you to make the tool convenient. The configuration lives in your bookmark, not in our storage — which is the same principle as your images living on your device rather than on our server.

Build a link, bookmark it, and stop retyping dimensions

Open the image resizer →

Related

Last updated: