<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001373715</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-22</startDate>
            <endDate>2026-07-22</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001373715</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-22</startDate>
            <endDate>2026-07-22</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001373715</identifier>
        </entity>
        <period>
            <startDate>2026-07-22</startDate>
            <endDate>2026-07-22</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-3" id="f-25">0001373715</dei:EntityCentralIndexKey>
    <ffd:SubmissnTp contextRef="c-3" id="f-26">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-3" id="f-27">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp contextRef="c-3" id="f-28">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-3" id="f-29">ServiceNow, Inc.</dei:EntityRegistrantName>
    <ffd:OffsetTableNa contextRef="c-3" id="f-30">N/A</ffd:OffsetTableNa>
    <ffd:PrevslyPdFlg contextRef="c-1" id="f-1">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-1" id="f-2">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-1" id="f-3">Common stock, par value $0.001 per share, issuable in respect of assumed outstanding awards of unvested restricted stock units under the AI.Work, Inc. 2024 Stock Incentive Plan(3)</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-1" id="f-4">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-1" decimals="0" id="f-5" unitRef="shares">48484</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-1" decimals="2" id="f-6" unitRef="number">101.88</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-1" decimals="2" id="f-7" unitRef="usd">4939549.92</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-1" decimals="8" id="f-8" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-1" decimals="2" id="f-9" unitRef="usd">682.16</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-10">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-11">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-12">Common stock, par value $0.001 per share, issuable in respect of assumed outstanding awards of unvested stock options under the AI.Work, Inc. 2024 Stock Incentive Plan(5)</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-13">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-14" unitRef="shares">14559</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-15" unitRef="number">101.88</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-16" unitRef="usd">1483270.92</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="8" id="f-17" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-18" unitRef="usd">204.84</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-3" decimals="2" id="f-19" unitRef="usd">6422820.84</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-3" decimals="2" id="f-20" unitRef="usd">887.00</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-3" decimals="0" id="f-21" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-3" decimals="2" id="f-22" unitRef="usd">887.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-24">&lt;div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;This Registration Statement (the &#x201c;Registration Statement&#x201d;) registers the issuance of the common stock of ServiceNow, Inc. (the &#x201c;Registrant&#x201d;), par value $0.001 (the &#x201c;Common Stock&#x201d;) issuable pursuant to the outstanding awards of unvested stock options and unvested restricted stock units assumed by the Registrant as a result of the consummation on July 22, 2026 of the transaction contemplated by the Agreement and Plan of Merger, dated as of July 1, 2026, by and among the Registrant, Apollo Merger Subsidiary, Inc., AI.Work, Inc. and Shareholder Representative Services LLC as the Seller Agent.&lt;/span&gt;&lt;/div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;Pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement also covers an indeterminate number of additional shares that may be offered or issued as a result of stock splits, stock dividends or similar transactions.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;Estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and 457(h) under the Securities Act, based on the average of the high and low prices of the Registrant&#x2019;s Common Stock as reported on the New York Stock Exchange on July 20, 2026.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;Represents 14,559 shares of Registrant common stock issuable pursuant to outstanding and unvested stock options granted under the 2024 Stock Incentive Plan that were assumed by and converted into restricted stock units of the Registrant on July 22, 2026 in connection with the Registrant's acquisition of AI.Work, Inc.&lt;/span&gt;</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-1" id="f-23">&lt;div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;This Registration Statement (the &#x201c;Registration Statement&#x201d;) registers the issuance of the common stock of ServiceNow, Inc. (the &#x201c;Registrant&#x201d;), par value $0.001 (the &#x201c;Common Stock&#x201d;) issuable pursuant to the outstanding awards of unvested stock options and unvested restricted stock units assumed by the Registrant as a result of the consummation on July 22, 2026 of the transaction contemplated by the Agreement and Plan of Merger, dated as of July 1, 2026, by and among the Registrant, Apollo Merger Subsidiary, Inc., AI.Work, Inc. and Shareholder Representative Services LLC as the Seller Agent.&lt;/span&gt;&lt;/div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;Pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement also covers an indeterminate number of additional shares that may be offered or issued as a result of stock splits, stock dividends or similar transactions.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;Represents 48,484 shares of Registrant common stock issuable in connection with outstanding and unvested restricted stock units awarded under the AI.Work, Inc. 2024 Stock Incentive Plan (the &#x201c;2024 Stock Incentive Plan&#x201d;) that were assumed by and converted into restricted stock units of the Registrant on July 22, 2026, in connection with the Registrant's acquisition of AI.Work, Inc.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:112%"&gt;Estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and 457(h) under the Securities Act, based on the average of the high and low prices of the Registrant&#x2019;s Common Stock as reported on the New York Stock Exchange on July 20, 2026.&lt;/span&gt;</ffd:OfferingNote>
</xbrl>
