JPG vs JPEG - Are They the Same?
Use HEIC to JPG or Compress image for any photo work in your browser.
The history in one paragraph
The Joint Photographic Experts Group (JPEG) standards committee gave the format its name, so .jpeg was the natural extension. MS-DOS and early Windows allowed only three letters, which is how .jpg became the common spelling. Both extensions still label the same file format today.
What is actually inside the file
Both .jpg and .jpeg hold the same byte sequence: a JPEG magic-number header (the bytes FF D8 FF), encoded image data using the discrete cosine transform, and a closing FF D9 marker. The extension is only a label on that container.
When to write each extension
Prefer .jpg for short filenames and web uploads. Reach for .jpeg when a form or an operating-system dialog insists on the longer name.
- .jpg. The default in 2026. Everywhere - phone cameras, web upload forms, image-editing software. Shorter, marginally cleaner-looking. Use it unless you have a reason not to.
- .jpeg. Right when a system or workflow rejects .jpg specifically. Some legacy Unix tools, some scientific imaging pipelines, and a small number of CMSes. Also right when the file came in as .jpeg and you do not want to rename - the bytes are identical, so do not invent friction.
- .jpe. A rare third extension - same format. Almost no system writes .jpe today. Treat any .jpe like .jpg.
A few details people occasionally hit
Three details trip people up: case-sensitive servers, double extensions left behind after a rename, and apps that filter for only one spelling.
Server MIME types. The MIME type is image/jpeg regardless of which extension the file uses. A misconfigured server that only registers the .jpeg extension will refuse to serve .jpg files - or vice versa. Both should be in the server's MIME map.
Email attachments. No mail client in 2026 cares about the difference. Both extensions render as inline images and download normally.
For more image-format context see HEIC vs JPG vs WebP, JPG vs PNG for the web, or the image converter tools hub.
If your photos are in HEIC format (the iPhone default before iOS 17), see how to convert 100 HEIC photos to JPG for batch browser steps that need no app install. If a converter drops EXIF data or returns odd colors, HEIC to JPG - what actually works tests each tool against those edge cases.
FreetoolOnline editorial teamWhy trust these tools
- Ten-plus years of web tooling. The freetoolonline editorial team has shipped browser-based utilities since 2015. The goal has never changed: get you to a working output fast, without an install.
- No install, no sign-up. Open a tool and get a working output in seconds - nothing to download and no account to create. Tools that need heavy processing run it on our service, so even a low-powered machine gets the job done.
- Analytics stops at the page view. We measure which pages get visited, not what you type or upload inside a tool. There is nothing to sign in to and no profile is attached to your input.
- Open-source core components. The processing engines underneath (libheif, libde265, pdf-lib, terser, clean-css, ffmpeg.wasm, and others) are public and audit-able. We link to each one in its tool page's footer.
- Free, with or without ads. All tools are fully functional without sign-up. The Disable Ads button in the header is always available if you need a distraction-free run.