<?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">0000107263</identifier>
        </entity>
        <period>
            <startDate>2026-11-02</startDate>
            <endDate>2026-11-02</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000107263</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-11-02</startDate>
            <endDate>2026-11-02</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-344">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-345">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-346">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb contextRef="rc" id="ixv-347">333-299764</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-348">0000107263</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-349">WILLIAMS COMPANIES, INC.</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-377">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-378">WILLIAMS COMPANIES, INC.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-379">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-380">Common Stock, $1.00 par value</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_1" id="ixv-381">true</ffd:Rule415a6Flg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-382"
      unitRef="Shares">26874496</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-383"
      unitRef="USD">2024724528.64</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="offrl_1" id="ixv-384">S-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_1" id="ixv-385">333-277232</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_1" id="ixv-386">2024-02-21</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee
      contextRef="offrl_1"
      decimals="2"
      id="ixv-387"
      unitRef="USD">1279614.46</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-388" unitRef="USD">2024724528.64</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-389" unitRef="USD">0.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-390" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-391" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-392" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-393">(a) The amount registered represents (i) 26,874,496 shares of common stock. The proposed maximum offering price per unit was estimated solely for the purpose of computing the amount of the registration fee pursuant to Rule 457(c) under the Securities Act, based on the average of the high and low prices of the common stock on the New York Stock Exchange on September 1, 2026, which date is a date within five business days prior to the filing of the prospectus supplement dated September 3, 2026 to the Registration Statement on Form S-3 filed with the Securities and Exchange Commission (File No. 333-277232), which became effective February 21, 2024 (the "2024 Registration Statement"). (b) Pursuant to Rule 415(a)(6) this registration statement carries over 26,874,496 unsold shares of common stock of the 26,874,496 shares of common stock previously registered on the 2024 Registration Statement. As a result, the offering of unsold securities under the 2024 Registration Statement will be deemed terminated as of the date of effectiveness of the registration statement on Form S-3 to which this Exhibit relates.</ffd:OfferingNote>
    <ffd:NrrtvMaxAggtOfferingPric contextRef="rc" decimals="2" id="ixv-394" unitRef="USD">2024724528.64</ffd:NrrtvMaxAggtOfferingPric>
    <ffd:FnlPrspctsFlg contextRef="rc" id="ixv-395">true</ffd:FnlPrspctsFlg>
</xbrl>
