Skip to content
HALOWERK

Formatwerk

format identify

Uses file-type 22 for broad magic-byte detection (about 170 formats) and re-implements the PRONOM internal signatures of 30 PUIDs exactly as published by The National Archives (records retrieved 2026-11-01, Open Government Licence v3.0): PDF 1.0–1.7 and 2.0 including the %%EOF condition, PDF/A-1a to 3u by the XMP pdfaid declaration and PDF/A-4/4e/4f, PNG 1.0/1.1/1.2, GIF 87a/89a, JFIF 1.00–1.02, TIFF and ZIP. PUIDs are only given when such a signature matches; for PDF/X, PDF/E or Illustrator.

POST https://format.halowerk.com/v1/format-identify

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
filesarrayYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "files"
  ],
  "properties": {
    "files": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "content_base64"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 300,
            "description": "Original file name (used for the extension check)."
          },
          "content_base64": {
            "type": "string",
            "minLength": 4,
            "maxLength": 14000000
          }
        }
      }
    }
  }
}

Open original schema

Published input example

{
  "files": [
    {
      "name": "pixel.png",
      "content_base64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →