lookup> .pbm

.PBM·File Extension

PBM ImageA .pbm file is a PBM Image. It is a raster or vector image format used for photos, web assets and design work.

Extension.pbm
File typePBM Image
CategoryImage
Charset
Compressible

What is a .pbm file?

A .pbm file is a PBM Image. It is a raster or vector image format used for photos, web assets and design work.

In the mime-db registry it maps to image/x-portable-bitmap. When serving .pbm over HTTP, set the Content-Type header as shown in Developer info below.

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

  • Use Photoshop or GIMP to open and edit .pbm 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/x-portable-bitmap

Common software that reads/writes .pbm:

PhotoshopGIMPPaintPreview
.pbmextension of
format
PBM Imageserved as
mime type
image/x-portable-bitmapsent 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 .pbm extension, or export this format from Photoshop.

What programs can open .pbm files?

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

How do I create a .pbm file?

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

What is the relationship between .pbm and the image/x-portable-bitmap MIME type?

image/x-portable-bitmap is the media type identifier used for .pbm 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