{
  "slug": "strip-udp-header",
  "name": "gizza-ai/strip-udp-header",
  "version": "0.1.0",
  "title": "UDP Header Stripper — remove the 8-byte UDP header and get the payload — gizza.ai",
  "description": "Strip the 8-byte UDP header from a hex datagram to get the payload, plus source/destination ports, length and checksum — free, in your browser.",
  "tags": [
    "strip udp header",
    "remove udp header",
    "udp payload",
    "udp datagram payload",
    "decapsulate udp",
    "extract udp payload",
    "udp source port",
    "udp destination port",
    "udp length field",
    "udp checksum"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/strip-udp-header/",
    "markdown": "https://gizza.ai/tools/strip-udp-header/index.md",
    "descriptor": "https://gizza.ai/tools/strip-udp-header/tool.json",
    "deep_link_example": "https://gizza.ai/tools/strip-udp-header/?datagram=0035%20a1b2%20000c%201234%20de%20ad%20be%20ef"
  },
  "cli": "gizza tool strip-udp-header \"0035 a1b2 000c 1234 de ad be ef\"",
  "tool": {
    "description": "Remove the fixed 8-byte UDP header from a raw UDP datagram given as a hex string and return the encapsulated application payload (the bytes the UDP layer carries). Returns JSON with the source and destination ports, the UDP Length and Checksum fields, the number of header bytes removed (always 8), the payload length, and the payload as a lowercase hex string. The UDP Length field is honored to drop any trailing link-layer padding when it is consistent. Input may contain spaces, colons, dashes, dots, or a 0x prefix. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "datagram": {
          "description": "The raw UDP datagram as a hex string (the 8-byte UDP header followed by its payload). Spaces, colons, dashes, dots, and a 0x prefix are ignored, e.g. '0035 a1b2 000c 1234 deadbeef'.",
          "type": "string"
        }
      },
      "required": [
        "datagram"
      ],
      "type": "object"
    }
  }
}