Fit for Instagram

Photoshop Automation

Easily prepare your images for Instagram with one click.
Fit for Instagram automatically expands, formats, and exports your photos to perfect 4:5 aspect ratio posts β€” optimized for maximum visual impact on the feed.
Whether you’re working on a single photo, multiple open documents, or an entire folder of images, the script handles it all cleanly and consistently.

Features

  • Batch or Open Image Mode β€” choose whether to process a folder of images or all currently open Photoshop documents.
  • Instagram-Ready 4:5 Format β€” automatically resizes and pads each image to fit perfectly in portrait ratio.
  • True White Background β€” expands your canvas cleanly, without leaving extra layers.Optional Border Control β€” add a uniform white border (by percentage) on all sides for a consistent aesthetic.
  • Smart Saving β€” automatically saves to an “Exports_IG” folder beside your originals.
  • Prefilled Filenames β€” appends “_IG” automatically, or enable manual filename confirmation.
  • Customizable Settings β€” easy to modify for export size, borders, and prompts.

How to Use

  • Download the script file (FitForInstagram.jsx) and place it in:
  • Photoshop > Presets > Scripts
  • Start (or restart) Photoshop to load it.
  • Go to File β†’ Scripts β†’ Fit for Instagram to run.
  • You’ll be prompted to:
  • Choose between processing a folder or open images.
  • Optionally confirm filenames before saving (if enabled in settings).

Editing the Settings

// === USER SETTINGS ===
var confirmFilenames   = false;  // true = ask before saving each image
var addBorderAllSides  = true;   // true = add white border everywhere
var borderFactor       = 1.10;   // 1.10 = 10% larger canvas; 1.05 = 5%, etc.

Options Explained

Setting

Type

Description

Example

confirmFilenames

true/false

Ask for filename confirmation each time you save.

false = auto-save

addBorderAllSides

true/false

Adds white border uniformly around image.

true = border applied

borderFactor

number

Canvas expansion ratio. 1.10 = 10% border.

1.05 = thinner border

maxPortraitHeight

number

Max height for portrait images in pixels.

2700 (2Γ— IG standard)

maxLandscapeWidth

number

Max width for landscape images in pixels.

2160 (2Γ— IG standard)

Advanced Notes

  • The 4:5 ratio is maintained automatically β€” portraits expand sideways, landscapes expand vertically.
  • Exports are JPEGs, placed in a folder called Exports_IG beside the original files.
  • The script preserves metadata and color profile.
  • It will gracefully skip any unreadable or non-image files in a folder.
  • If processing raw files, open in Photoshop and then run the script over the open image(s). Folder process will fail on raw’s.

Get the file

Use the form to request the file, it will be shared with you automatically on submitting the form.