.PS

PS File

PostScript (page-description program)
Ask a question
QUICK ANSWER

A PS file is a PostScript document - a text program that a printer or viewer renders into pages of text and vector graphics. To view one, install Ghostscript and open it in GSview or SumatraPDF (Windows), or Evince (Linux). The fastest route is converting to PDF with ps2pdf. PostScript is largely legacy but still appears in LaTeX and academic workflows.

Developer: Adobe Systems Category: Vector Image Files Open standard MIME: application/postscript
OPENS ON Windows macOS Linux
Related: .EMZ · .CDR · .ODG · .VSDX

On this page

19k+ extensions indexed
Last reviewed Aug 29, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PS file format?

A .ps file is a PostScript page-description language document developed by Adobe Systems in 1984. It can contain vector graphics, raster images, and text - all expressed as a human-readable ASCII program rather than a fixed binary layout. Every .ps file begins with the magic sequence %!, typically appearing as the full header line %!PS-Adobe-3.0, which signals to a PostScript interpreter or printer that the file contains executable drawing instructions.

.ps files revolutionized printing because they let creators combine text and images on the same page, a capability once available only through advanced CAD printing devices. A .ps file resembles a programming language file more than a conventional image format because it stores a sequence of instructions that a PostScript-compatible printer or interpreter - such as Ghostscript - executes to produce the final page.

PostScript evolved through three major specification levels: Level 1 (1984), Level 2 (1991, adding color models and compression), and Level 3 (1997, adding smooth shading and improved font handling). A closely related format is .EPS (Encapsulated PostScript), a single-figure embeddable subset that includes a %%BoundingBox declaration.

One practical advantage of the .ps format is that files can be sent directly to any PostScript-compatible printer without being opened in a dedicated application first. A .ps file can therefore be shared among users who do not have access to the software used to create it.

Although still used in professional print workflows and prepress, .ps has lost much of its former popularity to its successor, the PDF format. Both share PostScript foundations, and converting a .ps file to PDF is straightforward using tools such as Ghostscript's ps2pdf command or Adobe Acrobat.

Security & safety

RISK: MEDIUM

PostScript is a full programming language, so a .ps file can contain executable code - and the interpreter that renders it (especially Ghostscript) has had serious security bugs allowing sandbox escape and command execution from a crafted file. Practical rules: keep Ghostscript fully updated, be cautious opening .ps files from untrusted senders, and prefer converting to PDF (then reading the safer PDF). A plain .ps from a trusted source/printer pipeline is fine. As with EPS, the active- content nature is the real risk, not the visible page.

Format details

in a nutshell
FULL NAMEPostScript (page-description program)
DEVELOPERAdobe Systemssince 1984 (Adobe PostScript); PostScript Level 1 1984, Level 2 1991, Level 3 1997
MIME TYPEapplication/postscript
TYPEPostScript page-description language - text program describing pages (text + vector + raster), interpreted to render
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
2521
ASCII
%!
A .ps file is plain ASCII text that begins with "%!" (hex 25 21), normally the full line "%!PS-Adobe-N.N". It is a PostScript PROGRAM, not a fixed image - the interpreter (Ghostscript / a PostScript printer) executes it to draw the page(s). EPS is a single-figure, encapsulated subset of PostScript (with a BoundingBox); a plain .ps is a full multi-page document/print job.

Programs that open PS files

Windows4 apps
Adobe Acrobat Paid Open a .ps and Acrobat (via its Distiller engine) converts it to PDF for viewing/printing.
Inkscape Open-source With Ghostscript installed, File > Open imports a (single-page) PS as editable vectors. Best for figures, not multi-page documents.
Ghostscript + GSview Open-source Install Ghostscript (the PostScript engine), then open the .ps in GSview/GSview successor to view and print. Ghostscript is the core renderer all the free tools rely on.
SumatraPDF Open-source Lightweight viewer that opens .ps directly when Ghostscript is installed - quick way to just read/print a PostScript file.
macOS2 apps
Inkscape Open-source With Ghostscript present, open a single-page PS to view/edit it as vectors.
GhostScript (Homebrew) / Preview Open-source Install Ghostscript via Homebrew; convert with 'ps2pdf file.ps' then open the PDF in Preview. (Modern macOS Preview dropped built-in PostScript opening.)
Linux3 apps
Evince (GNOME Document Viewer) Open-source Open the .ps to view and print directly (uses a PostScript backend). The default document viewer on many distros.
Okular (KDE) Open-source Open the .ps for viewing/printing; supports PostScript via Ghostscript backend.
Ghostscript (ps2pdf / gs) Open-source Command line: 'ps2pdf file.ps' converts to PDF; 'gs' renders/prints. The engine behind the GUI viewers.

Technical details

deep spec
MIME typeapplication/postscript
Magic bytes`%!` (hex `25 21`) at byte offset 0; typical full header line is `%!PS-Adobe-3.0`
Text encodingPlain 7-bit ASCII; the entire file is human-readable text
Language paradigmStack-based, Turing-complete page-description programming language
Document structureDSC (Document Structuring Conventions) comments - lines beginning with `%%` - define pages, resources, and bounding boxes
Rendering modelInterpreted at render or print time; output is device-independent, using points (1/72 inch) as the base unit
Multi-page supportA single `.ps` file can describe any number of pages; the `%%Page:` DSC comment marks each new page
Color spacesSupports DeviceGray, DeviceRGB, DeviceCMYK, and CIEBased color spaces; spot colors supported from Level 2
Font supportType 1 (native), Type 3, TrueType (Level 2+), and CFF; fonts can be embedded or externally referenced
Image encodingRaster image data embedded as ASCII85 or hex-encoded streams; LZW and JPEG (DCT) compression supported from Level 2
Print-spool useNative spooler format for PostScript printers; many applications export `.ps` via a print-to-file option
ConversionGhostscript `ps2pdf` converts `.ps` to PDF; Adobe Distiller was the original commercial conversion tool
Security modelNo built-in encryption or access permissions; the interpreter executes arbitrary code, making untrusted files a potential risk
Released1984 (Adobe PostScript); PostScript Level 1 1984, Level 2 1991, Level 3 1997
Open standardYes · royalty-free
Specificationwww.adobe.com

PS conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PS files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PS files.

Frequently asked questions

How do I open a .ps (PostScript) file?
Install Ghostscript (the PostScript engine), then view it with GSview or SumatraPDF on Windows, or Evince/Okular on Linux. The simplest path is to convert it to PDF (ps2pdf) and open that in any PDF reader.
How do I convert PS to PDF?
Use Ghostscript's 'ps2pdf file.ps file.pdf', or 'Print to PDF' from any viewer, or Adobe Acrobat (Distiller). The result is a normal PDF that keeps the text and vector graphics.
What's the difference between PS and PDF?
Both come from Adobe and share the same imaging model, but PostScript is a programming language a printer/interpreter executes, while PDF is a fixed, page-indexed, safer document format. PDF replaced PostScript for everyday use; PS survives mainly in printing and legacy/LaTeX workflows.
What's the difference between PS and EPS?
A plain .ps is a complete document or print job (often multi-page). EPS (Encapsulated PostScript) is a single self-contained figure with a declared BoundingBox, designed to be embedded inside another document.
Why does my .ps file open as text/code?
Because PostScript IS a text program - if it opens in a text editor, your system has no PostScript viewer associated. Install Ghostscript plus a viewer (or convert to PDF) to see the rendered pages instead of the code.
Are PostScript files safe to open?
Mostly, but not entirely - PostScript can contain executable code and the Ghostscript interpreter has had exploitable bugs. Keep Ghostscript updated, be wary of .ps from unknown senders, and prefer converting to PDF before reading.

References

1Adobe - PostScript Language Reference Manual (PLRM)www.adobe.com
2Library of Congress - PostScript format descriptionwww.loc.gov

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.BINCD/DVD Disc Image (BIN/CUE)
4.DATProgram Data File (generic)
5.PARTPartial Download File
6.EXEWindows Executable (Portable Executable)
7.NOMEDIAAndroid No-Media Marker File
8.RPMSGRestricted Permission Message
9.TMPTemporary File
10.TXTPlain Text File

Related extensions

.EMZWindows Compressed Enhanced Metafile
.CDRCorelDRAW image / drawing
.ODGOpenDocument Graphics (Drawing)
.VSDXMicrosoft Visio Drawing (2013+)
.AIAdobe Illustrator Artwork
.EPSEncapsulated PostScript

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z