Test If PNG Is Landscape Or Portrait
Upload a PNG image to instantly check if it is landscape, portrait, or square. View dimensions, aspect ratio, and orientation details.
Preview
Drop a PNG and find out right away whether it's landscape, portrait, or square — plus exact width, height, aspect ratio, and pixel count. Handy when you're sorting hundreds of images for a gallery or checking screenshots before an app store upload. And everything runs in your browser. Nothing gets uploaded.
How It Works
The browser loads your PNG into an invisible canvas element, reads the native width and height in pixels, then compares them. Width greater than height means landscape. Height greater than width means portrait. Equal values — that’s a square. The aspect ratio gets simplified using the greatest common divisor, so 1920×1080 shows as 16:9.
Examples
Standard Desktop Wallpaper
Checking a downloaded wallpaper before setting it as your background.
wallpaper.png
1920 × 1080 pixels
🌄 Landscape
Ratio: 16:9
Pixels: 2,073,600
Phone Screenshot for App Store Listing
App stores need portrait screenshots. Quick way to confirm before uploading.
screenshot-ios.png
1290 × 2796 pixels
📷 Portrait
Ratio: 215:466
Pixels: 3,607,740
Social Media Profile Picture
Most platforms crop profile images to a circle from a square base. Verifying the image is actually square prevents awkward cropping.
avatar.png
800 × 800 pixels
⬜ Square
Ratio: 1:1
Pixels: 640,000
Who Uses This
Sorting uploaded images into landscape and portrait slots for responsive galleries.
Confirming asset orientation before placing images into print layouts or ad templates.
Verifying screenshots match app store orientation requirements before submission.
Batch-checking exported PNGs to separate horizontal shots from vertical ones.
Common Mistakes
Changing the file extension doesn’t change the format. The tool checks the actual file type, so a renamed JPG will be rejected. Convert it properly with an image converter first.
A 1200×800 image might look portrait on your screen if you’ve zoomed in or the window is narrow. The tool reads the actual pixel count from the file — what you see on screen can be misleading.
An image at 1000×1002 pixels looks square to the naked eye but it is technically portrait. This matters for platforms that enforce strict aspect ratios. The tool catches the difference.
Technical Details
- Processing: 100% client-side — nothing uploaded
- Browser Support: Chrome, Firefox, Safari, Edge
- Max File Size: 50 MB
- Accepted Format: PNG only (.png)
- Data Shown: Width, height, aspect ratio, pixel count, file size, orientation
Frequently Asked Questions
What’s the difference between landscape and portrait orientation?
Landscape means the image is wider than it is tall. Portrait is the opposite — taller than wide. If both dimensions match exactly, it’s square. These terms come from painting, where landscapes were traditionally wide and portraits were vertical.
Can I check orientation for JPG or WebP files?
This particular tool only accepts PNG files. We have separate orientation checkers for other formats, or you can convert your file to PNG first using any image converter.
Does this tool upload my image to a server?
No. Your PNG stays on your device the entire time. The browser reads the file locally using JavaScript — no server request happens. You could disconnect from the internet after loading the page and it would still work fine.
How is the aspect ratio calculated?
Both dimensions get divided by their greatest common divisor. So a 1920×1080 image simplifies to 16:9. Some odd resolutions won’t reduce to a familiar ratio — you’ll just see the exact simplified numbers like 215:466.
Why does orientation matter for printing?
Print layouts have fixed page orientations. Putting a landscape image on a portrait page wastes most of the space — and vice versa. Knowing the orientation before you start saves you from reformatting halfway through a layout.