lookup> .jpg

.JPG·File Extension

JPEG ImageLossy photo format with adjustable compression and broad compatibility.

Extension.jpg
File typeJPEG Image
MIME typeimage/jpeg
CategoryImage
Charset
CompressibleNo
Format familyjpeg

What is a .jpg file?

A .jpg file is a JPEG Image — Lossy photo format with adjustable compression and broad compatibility.

In the mime-db registry it maps to image/jpeg, and it is marked as non-compressible. When serving .jpg over HTTP, set the Content-Type header as shown in Developer info below.

Related entities: it maps to image/jpeg — and is delivered over HTTP via the Content-Type header.

  • Use Photoshop or GIMP to open and edit .jpg files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: image/jpeg

Common software that reads/writes .jpg:

PhotoshopGIMPPreview
.jpgextension of
format
jpegserved as
mime type
image/jpegsent via header
http header
  • Web graphics and photos
  • Design assets and icons
  • Print and photography
  • Open the file with Photoshop, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .jpg extension, or export this format from Photoshop.

What programs can open .jpg files?

Common options include Photoshop, GIMP, Preview. You can also open many of these files with built-in viewers or a browser.

How do I create a .jpg file?

Create a new file in any text editor or the app that owns the format and save it with the .jpg extension.

What is the relationship between .jpg and the image/jpeg MIME type?

image/jpeg is the media type identifier used for .jpg files during network transfer (for example in the HTTP Content-Type header).

Updated 2026-08-18

Related extensions

Related MIME types

Related headers

Related methods

Related status codes