24 converter Units · Currency · Files

Rotate JPG Joint Photographic Experts Group Free Online Secure

The picture is turned and saved again. Nothing is scaled, nothing is cropped, and the file never leaves your device.

Work on your PDF

Drop a JPG here, or choose one.

Your file never leaves this device. Everything runs in your browser.

About this tool
What it keeps Every pixel of the picture and the resolution the file records, so a scan turned upright still prints at the size it did before.
What it cannot do The picture is decoded and encoded again, so a JPG gives up a little quality each time it is turned. A truly lossless turn would shuffle the compressed blocks without decoding them — a different job, and one a browser cannot do.
Where it runs In your browser. Nothing is uploaded, so there is nothing to delete afterwards.

Nothing uploaded

Why a photo can be sideways in the first place

A camera sensor is rectangular and does not turn when you turn the camera. When you hold a phone upright, the picture is still recorded in the sensor's own orientation, and a small tag is written into the file saying which way up it should be shown. That tag is part of EXIF, the block of camera data that has travelled inside photographs since 1995. Software that reads the tag shows the photograph upright; software that ignores it shows the sensor's version, lying on its side. This is why the same file looks right on your phone and wrong when uploaded somewhere, and it is the reason most rotation is needed at all.

Where you need it

Scans that came out of the feeder the wrong way up; photographs taken in portrait that every program insists on showing in landscape; a PDF whose pages were scanned sideways and are painful to read; a document whose first page is upright and whose appendix, scanned separately, is not. Rotation is also the quickest cure when a file has to be sent somewhere that will not read the orientation tag.

Questions people ask

Why does my photo look right on my phone but sideways on the computer?

Because the two are reading the same file differently. The photograph is stored in the sensor's orientation with a tag saying how to turn it; the phone obeys the tag, and the other program does not. Rotating the image here resolves the disagreement permanently: the pixels themselves are turned and the tag is set to upright, so every program agrees from then on, whether it reads the tag or not.

Does rotating lose quality?

Not in a quarter turn. A rotation by 90, 180 or 270 degrees moves whole pixels into new places without having to invent any, so the image that comes out is exactly the image that went in. Rotation by some other angle is a different matter: the new grid does not line up with the old one, every pixel has to be estimated from its neighbours, and the picture softens slightly. The pages here turn in quarter turns, so nothing is lost.

Does the file lose quality?

It depends on what the two formats can hold. Converting between formats that store the same thing — a PNG to a BMP, a WAV to a FLAC — loses nothing. Converting into a format that throws information away to save space, such as JPEG or MP3, loses a little every time, and converting back does not bring it back. Where a choice exists, this page errs towards keeping the original quality rather than making the smallest file.

Is my file uploaded anywhere?

No. The conversion happens inside your browser, on your own machine; the file never leaves it and there is no server here that could receive it. That is why a large file is limited by your own memory rather than by an upload, and why nothing you convert can appear in anybody's logs — including ours. The audio and video tools do fetch their conversion engine from this site the first time you use them, some thirty megabytes once; after that the work still happens entirely on your machine.

Why people rotate JPG files

Phones and cameras know which way you were holding them when you took a picture, and most of the time they tell the viewing program to turn the photo upright. But not always. A photograph that looks perfect on your phone arrives sideways in an email, on a website or in a document. A scanned page comes out on its side. A picture from an old camera has no orientation information at all. When that happens, the quickest remedy is to rotate the JPG so that it is the right way up in the file itself, and stays that way wherever it goes.

People rotate JPG files for very ordinary reasons. A photo of a document to be uploaded must be upright for the reader. A picture for a website looks wrong on its side. A set of photographs for a printed album must all face the same way. A scan to be turned into a PDF should be corrected first. Whatever the case, to rotate a JPG is to fix the orientation permanently, rather than relying on every program to read a hidden note correctly.

This page lets you rotate JPG files entirely in your browser. The picture never leaves your device, which matters for photographs of people, documents and anything private. Below you will find how the rotation works, what is kept, the one cost to be aware of, and how to avoid the common mistakes.

How the rotation works

The picture is turned and saved again

To rotate a JPG here, you choose a turn, and the picture is turned and saved as a new file. Nothing is scaled and nothing is cropped. A picture of 4000 by 3000 pixels, turned a quarter, becomes 3000 by 4000 pixels, with every pixel simply in a new place.

Whole quarter turns

You can turn a picture a quarter to the right, a quarter to the left or half a turn. Those cover the sideways and upside-down cases that make up nearly all real needs. A picture that is only slightly crooked needs a different kind of tool, one that straightens by a few degrees and has to crop or fill the corners.

How to tell which way to turn

Look at the picture: if the top of the scene points to the right, it needs a quarter turn to the left to be upright; if the top points to the left, a quarter turn to the right; if it is upside down, a half turn. When in doubt, try one and look at the preview.

What is kept

Every pixel and the proportions

When you rotate JPG files this way, every pixel of the picture is kept. Nothing is resized, cropped or stretched, and the shape of the picture simply changes from landscape to portrait or the reverse. The content, the colours and the composition are unchanged.

The resolution the file records

A picture file records a resolution, the dots per inch it is meant to print at. That note is carried over, so a scan turned upright still prints at the size it did before. This matters for scanned documents, where the physical size is part of the meaning: an A4 page scanned sideways and rotated upright is still A4.

Why the recorded resolution matters

Without it, a program has to guess how big a picture should be on paper, and may print a scan at the wrong size. By carrying the resolution across, the rotated picture knows its intended size, so it fits a page properly when you place it in a document or send it to a printer.

The one cost: a little quality

JPG is decoded and encoded again

Here is the honest trade-off. To rotate a JPG in a browser, the picture has to be decoded into pixels, turned and then encoded again as a JPG. Because JPG is a lossy format, the encoding step discards a little detail every time. So a JPG gives up a little quality each time it is turned. For a single rotation, the loss is small and normally invisible. But it is real, and turning the same picture many times adds up.

A truly lossless turn exists, but not here

There is a way to rotate a JPG without any loss at all: you shuffle the compressed blocks around without decoding them. Specialised tools do exactly that. It is a different job, and one that a browser cannot do. That is why this page says honestly that each turn costs a little quality, rather than promising something it cannot deliver.

What to do about it

The practical advice is simple. Turn each picture once, and get it right the first time: look at the preview before you commit. Keep the original in case you want to start again. And if you will edit the picture further, do the turning as part of a single editing session, so the picture is encoded only once at the end.

Why a photo looks upright on your phone but not elsewhere

Many cameras do not actually turn the picture when you hold them sideways. They store the pixels as the sensor captured them and add a small note, called the orientation tag, that says "show this turned by so many degrees". Programs that respect the tag display the photo upright; programs that ignore it show it as it was captured. That is why a picture can look right in your gallery and wrong in an email, a web page or a document.

To rotate a JPG in the way this page does is to apply the turn to the pixels themselves. The result no longer depends on any tag being read, and it looks the same in every program. It is a permanent fix, which is exactly why people want it: no matter where the picture goes, it arrives the right way up.

Photographs that need more than one fix

Occasionally a picture is both tagged and wrongly turned, and the displayed result depends on whether a program honours the tag. If you rotate a JPG and the preview looks wrong in the other direction, the picture may have carried a tag that this page already applied when it drew it. Trust the preview you see on the page, and check the downloaded file in a second program to be sure.

Photographing documents the right way round

If you photograph pages often, a little care at capture time saves a lot of rotating. Hold the phone parallel to the page with the text running left to right across the screen, and keep the same orientation for every page of a document. When you do need to rotate a JPG afterwards, it will usually be the same turn for the whole batch, which makes the work quick.

For a stack of pages in one document, rotate the sideways ones, then assemble the set into a single file. It is much easier to rotate JPG files before you combine them than to fix pages one at a time inside the finished document. If you do combine them first, you can still correct the orientation later with the PDF tools, which turn pages without any loss.

Batches of photographs

If you have many photographs to correct, rotate JPG files one at a time and keep the originals in a separate folder. Work through them in groups: all the quarter-turn-left ones, then all the quarter-turn-right ones. Check one result in each group at full size before you do the rest, so you do not have to redo dozens of pictures.

How to rotate JPG files here

Add your picture

Drop the JPG onto the page or pick it from your device. It is read inside your browser and is not uploaded.

Choose the turn

Pick a quarter turn left, a quarter turn right or a half turn. Check the preview to be sure the picture is upright.

Rotate and check

Press the button and download the corrected picture. Open it and make sure it is upright and looks as sharp as before.

Tips for a clean result

Turn once

Decide the turn before you press the button. Repeated turning of the same JPG costs quality each time.

Rotate before other steps

If the picture is going into a document, a watermark or a page layout, rotate the JPG first so everything that follows is upright.

Keep the original

Keep the unrotated file, so you can start again from the best version if you need to.

Questions people ask before rotating

Will the quality drop?

A little, each time. The picture is decoded and encoded again, and JPG discards detail when it is encoded. One turn is normally invisible.

Is there a lossless way?

Yes, specialised tools can shuffle the compressed blocks without decoding them. A browser cannot do that.

Does the printed size change?

No. The resolution recorded in the file is carried over, so a scan turned upright prints at the same size as before.

Is my picture uploaded?

No. Everything runs in your browser and the picture never leaves your device.

Who needs to rotate JPG files

Anyone photographing documents

Phone photos of pages often arrive sideways in forms and emails. Turning them upright makes them readable.

People preparing pictures for the web or print

A consistent orientation matters in albums, catalogues and galleries.

Anyone with old scans

Scanners often store pages on their side. Rotating the JPG puts them right.

Common mistakes

Turning the same picture repeatedly

Each turn costs a little quality. Choose once.

Turning the wrong way

Look at the preview, and if it is wrong, start again from the original.

Deleting the original

Keep it, as the best version of the picture.

Related tools

If your picture is a PNG, rotate PNG turns it with no loss at all, and for BMP files use rotate BMP. For iPhone pictures, rotate HEIC or convert HEIC to JPG first. After rotating you can compress the JPG, put pictures into a document with JPG to PDF, or add a watermark. To fix the pages of a PDF, rotate PDF works the same way without any loss.

When to rotate JPG files, and when not to

You should rotate JPG files whenever the picture will leave your own devices and has to look right everywhere: an upload form, an email, a document, a website, a print order. It is less necessary if the picture will only be viewed in your own gallery, which handles the orientation tag for you. And it is the wrong move if you can avoid it entirely: for pictures that matter a great deal, fixing the orientation in the camera app or at capture time means you never need to rotate a JPG afterwards.

For the common cases, such as photographed documents, scans and pictures for the web, it is quick, private and effective to rotate JPG files in the browser. Your original is never changed, so you can come back and rotate a JPG again from the original whenever you like, with a different turn if the first was not right.

Rotate JPG files once, from the original

Because each turn of a JPG costs a little quality, the best habit is to rotate a JPG once, from the original, and to avoid chains of turns. If you rotate a JPG, look at it and decide it was the wrong direction, do not turn the result back: go to the original and rotate the JPG the other way. That way the picture has been through the lossy step only once.

If quality matters more than convenience

For photographs that you care about, such as a family portrait or an artwork you will print large, consider keeping a lossless version. Convert the JPG to PNG with the JPG to PNG converter, then use rotate PNG, which turns without any loss, and keep the PNG as your master. Rotate JPG files directly only for the everyday copies you send around.

Large pictures and slow devices

Everything runs on your own device, so very large pictures depend on its memory. A twelve-megapixel photograph is no trouble for a modern phone or computer. A very large panorama may be slow on an older device. If it struggles, give the browser a moment and avoid switching to other apps while it works.

Checking the result properly

After you rotate a JPG, open it at the size you will use and look at it in a second program as well, if you can. Check that it is upright, that edges look clean and that nothing has been cut off. If everything looks right, the job is done; if not, rotate the JPG again from the original with a different choice.

A simple routine to rotate JPG files well

Look at the picture and decide which turn it needs. Rotate the JPG once, from the original, using the preview to confirm. Download the result and check it at the size you will use. Then send, upload or print it, and keep the original. This routine takes less than a minute, and it works whether you rotate JPG files once a month or every day. If you rotate JPG files in batches, do them in groups that need the same turn, and check one in each group before you continue.

Your picture stays on your device

The rotation happens locally. Your picture is read by your own browser, turned and saved there and handed back. Nothing is uploaded, so there is no copy on a server and no one else who could see it. For photographs of people and private documents, that is the safe way to rotate JPG files.

A worked example

Say you photographed a signed form with your phone held sideways, and the picture arrives on the recipient's screen turned on its side. You drop the JPG here, choose a quarter turn to the left and check the preview. You press the button and download the corrected picture, now upright, with the same pixels in a new arrangement. You attach it to the email, and the recipient can read it without turning their screen.

Rotate JPG: a short recap

To rotate a JPG is to fix its orientation for good. When you rotate JPG files with this page, you choose the turn, check the preview and download the result. Each time you rotate a JPG there is a tiny cost in quality, so rotate a JPG once, from the original. If you need to rotate JPG files in bulk, work in groups. And whenever you rotate a JPG that matters, keep the original beside it.

Why people choose to rotate JPG files here

Many programs can turn a photograph, but not all of them do it for good. Some only change how the picture is displayed, which disappears the moment the file is copied elsewhere. When you rotate JPG files with this page, the new orientation is written into the picture. That is why people rotate JPG files here before uploading, printing or placing a picture in a document. It is also why it is worth taking a few seconds to rotate a JPG properly rather than relying on a viewer's temporary setting.

Before you close the page

Check that you downloaded the corrected picture, that it is upright and sharp, and that you kept the original.

Summary

To rotate JPG files here, drop the picture, choose the turn and download the result. Nothing is scaled or cropped, and every pixel and the recorded resolution are kept, so a scan turned upright still prints at the size it did before. The picture is decoded and encoded again, so a JPG gives up a little quality each time it is turned. A truly lossless turn is a different job that a browser cannot do. Nothing leaves your device.

Length & area Mass & volume Temperature Currency