Skip to content

PJT (.pjt)

.pjt file signature | application/octet-stream

PJT is a legacy project file format associated with Borland development tools and maintained by the application that created it. It is used to store project settings, source file references, and build-related metadata for software development workflows. The format is generally considered safe to open, though support is limited in modern tools and files may require older or compatible applications for correct interpretation.

Safe

Magic Bytes

Offset 0
78 56 34

Sources: Wikipedia

Extension

.pjt

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .pjt files in Python

Python
def is_pjt(file_path: str) -> bool:
    """Check if file is a valid PJT by magic bytes."""
    signature = bytes([0x78, 0x56, 0x34])
    with open(file_path, "rb") as f:
        return f.read(3) == signature

How to validate .pjt files in Node.js

Node.js
function isPJT(buffer: Buffer): boolean {
  const signature = Buffer.from([0x78, 0x56, 0x34]);
  return buffer.subarray(0, 3).equals(signature);
}

How to validate .pjt files in Go

Go
func IsPJT(data []byte) bool {
    signature := []byte{0x78, 0x56, 0x34}
    if len(data) < 3 {
        return false
    }
    return bytes.Equal(data[:3], signature)
}

API Endpoint

GET /api/v1/pjt
curl https://filesignature.org/api/v1/pjt

See the full API documentation for all endpoints and parameters.

Related Formats

Frequently Asked Questions

What is a .pjt file?

A .pjt file is identified by the magic bytes 78 56 34 at byte offset 0. PJT is a legacy project file format associated with Borland development tools and maintained by the application that created it. It is used to store project settings, source file references, and build-related metadata for software development workflows. The format is generally considered safe to open, though support is limited in modern tools and files may require older or compatible applications for correct interpretation.

What are the magic bytes for .pjt files?

The magic bytes for PJT files are 78 56 34 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .pjt file?

To validate a .pjt file, read the first bytes of the file and compare them against the known magic bytes (78 56 34) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .pjt files?

There is no officially registered MIME type for .pjt files. Systems typically use application/octet-stream as a generic fallback when handling this format.

Is it safe to open .pjt files?

PJT (.pjt) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.