<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002113088</identifier>
        </entity>
        <period>
            <startDate>2026-07-16</startDate>
            <endDate>2026-07-16</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002113088</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-16</startDate>
            <endDate>2026-07-16</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002113088</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-16</startDate>
            <endDate>2026-07-16</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002113088</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-16</startDate>
            <endDate>2026-07-16</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002113088</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-16</startDate>
            <endDate>2026-07-16</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-407">S-1</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-408">S-1</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-409">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-410">0002113088</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-411">Graf Industrial Corp. II</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-466">S-1</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-467">Graf Industrial Corp. II</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-468">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-469">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-470">Units, each consisting of one Class A ordinary share, $0.0001 par value, and one-third of one redeemable warrant</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg contextRef="offrl_1" id="ixv-471">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-472"
      unitRef="Shares">25300000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-473"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-474"
      unitRef="USD">253000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-475"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-476"
      unitRef="USD">34939.30</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-477">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-478">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-479">Class A ordinary shares included as part of the units</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-480">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-481"
      unitRef="Shares">25300000</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-482"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-483"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-484"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-485">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-486">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-487">Redeemable warrants included as part of the units</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_3" id="ixv-488">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-489"
      unitRef="Shares">8433333</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-490"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-491"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-492"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-493">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-494">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-495">Class A ordinary shares underlying the redeemable warrants included as part of the units</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_4" id="ixv-496">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_4"
      decimals="0"
      id="ixv-497"
      unitRef="Shares">8433333</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_4"
      decimals="2"
      id="ixv-498"
      unitRef="USD">11.50</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-499"
      unitRef="USD">96983329.50</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-500"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-501"
      unitRef="USD">13393.40</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-502" unitRef="USD">349983329.50</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-503" unitRef="USD">48332.70</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-504" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-505" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-506" unitRef="USD">48332.70</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-507">Estimated solely for the purpose of calculating the registration fee.

Includes 3,300,000 units, consisting of 3,300,000 Class A ordinary shares and 1,100,000 redeemable warrants, which may be issued upon the exercise of a 45-day option granted to the underwriters to cover over-allotments, if any. Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the "Securities Act"), there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution arising from share subdivisions, share dividends, or similar transactions.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-508">Estimated solely for the purpose of calculating the registration fee.

Includes 3,300,000 Class A ordinary shares included in 3,300,000 units which may be issued upon the exercise of a 45-day option granted to the underwriters to cover over-allotments, if any. Pursuant to Rule 416(a) under the Securities Act, there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution arising from share subdivisions, share dividends, or similar transactions.

No fee pursuant to Rule 457(g) of the Securities Act.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-509">Estimated solely for the purpose of calculating the registration fee.

Includes 1,100,000 redeemable warrants included in 3,300,000 units which may be issued upon the exercise of a 45-day option granted to the underwriters to cover over-allotments, if any. Pursuant to Rule 416(a) under the Securities Act, there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution arising from share subdivisions, share dividends, or similar transactions.

No fee pursuant to Rule 457(g) of the Securities Act.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-510">Estimated solely for the purpose of calculating the registration fee.

Includes 1,100,000 Class A ordinary shares underlying 1,100,000 redeemable warrants included in 3,300,000 units which may be issued upon the exercise of a 45-day option granted to the underwriters to cover over-allotments, if any. Pursuant to Rule 416(a) under the Securities Act of 1933, there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution arising from share subdivisions, share dividends, or similar transactions.</ffd:OfferingNote>
</xbrl>
