{
  "slug": "strip-ipv4-header",
  "name": "gizza-ai/strip-ipv4-header",
  "version": "0.1.0",
  "title": "IPv4 Header Stripper — remove the IPv4 header and get the payload — gizza.ai",
  "description": "Strip the IPv4 header from a raw hex packet — honoring IHL options and Total Length padding — to get the TCP/UDP/ICMP payload as hex, free in your browser.",
  "tags": [
    "strip ipv4 header",
    "remove ip header",
    "ipv4 payload",
    "ip packet payload",
    "decapsulate ipv4",
    "ip header length",
    "ihl",
    "extract tcp payload",
    "extract udp payload",
    "ip protocol number"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/strip-ipv4-header/",
    "markdown": "https://gizza.ai/tools/strip-ipv4-header/index.md",
    "descriptor": "https://gizza.ai/tools/strip-ipv4-header/tool.json",
    "deep_link_example": "https://gizza.ai/tools/strip-ipv4-header/?packet=4500%20001c%201c46%204000%204011%200000%20c0a8%200068%20c0a8%200001%200035%200035%200008%200000"
  },
  "cli": "gizza tool strip-ipv4-header \"4500 001c 1c46 4000 4011 0000 c0a8 0068 c0a8 0001 0035 0035 0008 0000\"",
  "tool": {
    "description": "Remove the IPv4 header from a raw packet given as a hex string and return the encapsulated payload (the transport segment, e.g. the TCP/UDP datagram). The header length is read from the IHL field, so any IP options are stripped too; the packet's Total Length field is honored to drop trailing link-layer padding. Returns JSON with the IP version, IHL, the number of header bytes removed, the payload's protocol number (named when known, e.g. TCP/UDP/ICMP), the payload length, and the payload as a lowercase hex string. Input may contain spaces, colons, dashes, dots, or a 0x prefix. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "packet": {
          "type": "string"
        }
      },
      "required": [
        "packet"
      ],
      "type": "object"
    }
  }
}