<?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">0001108524</identifier>
        </entity>
        <period>
            <startDate>2026-09-01</startDate>
            <endDate>2026-09-01</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001108524</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-01</startDate>
            <endDate>2026-09-01</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001108524</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-01</startDate>
            <endDate>2026-09-01</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001108524</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-01</startDate>
            <endDate>2026-09-01</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-210">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-211">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-212">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-213">0001108524</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-214">Salesforce, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-217">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-218">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-219">false</ffd:PrevslyPdFlg>
    <ffd:FormTp contextRef="rc" id="ixv-262">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-263">Salesforce, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-264">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-265">Common Stock, $0.001 par value per share, reserved for issuance pursuant to the Contentful Global, Inc. 2021 Equity Incentive Plan (Stock Option Awards)</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-266">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-267"
      unitRef="Shares">444096</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-268"
      unitRef="USD">80.90</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-269"
      unitRef="USD">35927366.40</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-270"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-271"
      unitRef="USD">4961.57</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-272">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-273">Common Stock, $0.001 par value per share, reserved for issuance pursuant to the Contentful Global, Inc. 2021 Equity Incentive Plan (Restricted Stock Unit Awards)</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-274">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-275"
      unitRef="Shares">136513</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_2"
      decimals="2"
      id="ixv-276"
      unitRef="USD">202.70</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-277"
      unitRef="USD">27671185.10</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-278"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-279"
      unitRef="USD">3821.39</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-280">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-281">Common Stock, $0.001 par value per share, reserved for issuance pursuant to the Contentful Global, Inc. 2021 Replacement Equity Plan (Restricted Stock Unit Awards)</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_3" id="ixv-282">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-283"
      unitRef="Shares">19809</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_3"
      decimals="2"
      id="ixv-284"
      unitRef="USD">202.70</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-285"
      unitRef="USD">4015284.30</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-286"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-287"
      unitRef="USD">554.51</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-288" unitRef="USD">67613835.80</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-289" unitRef="USD">9337.47</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-290" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-291" unitRef="USD">9337.47</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-292">Represents shares of the Registrant's common stock, par value $0.001 per share (the "Common Stock"), reserved for issuance pursuant to outstanding stock option awards (the "Contentful Plan Option Awards") under the Contentful Global, Inc. 2021 Equity Incentive Plan (the "Contentful Plan"). Pursuant to Rule 416(a) of the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover any additional shares of Common Stock that become issuable under the Contentful Plan by reason of any stock dividend, stock split, recapitalization, or other similar transaction that results in an increase in the number of outstanding shares of Common Stock. The proposed maximum offering price per unit and maximum aggregate offering price are estimated in accordance with Rule 457(h) of the Securities Act solely for purposes of calculating the registration fee on the basis of the weighted-average exercise price of the Contentful Plan Option Awards.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-293">Represents shares of Common Stock reserved for issuance pursuant to outstanding restricted stock unit awards (the "Contentful Plan RSU Awards") under the Contentful Plan. Pursuant to Rule 416(a) of the Securities Act, this Registration Statement shall also cover any additional shares of Common Stock that become issuable under the Contentful Plan by reason of any stock dividend, stock split, recapitalization, or other similar transaction that results in an increase in the number of outstanding shares of Common Stock. The proposed maximum offering price per unit and maximum aggregate offering price are estimated in accordance with Rule 457(c) and (h) of the Securities Act solely for purposes of calculating the registration fee on the basis of the average of the high and low sales prices of the Common Stock as reported on the New York Stock Exchange on August 26, 2026, which date is a date within five business days of the filing of this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-294">Represents shares of Common Stock reserved for issuance pursuant to outstanding restricted stock unit awards (the "Contentful Replacement Plan RSU Awards") under the Contentful Global, Inc. 2021 Replacement Equity Plan (the "Contentful Replacement Plan"). Pursuant to Rule 416(a) of the Securities Act, this Registration Statement shall also cover any additional shares of Common Stock that become issuable under the Contentful Replacement Plan by reason of any stock dividend, stock split, recapitalization, or other similar transaction that results in an increase in the number of outstanding shares of Common Stock. The proposed maximum offering price per unit and maximum aggregate offering price are estimated in accordance with Rule 457(c) and (h) of the Securities Act solely for purposes of calculating the registration fee on the basis of the average of the high and low sales prices of the Common Stock as reported on the New York Stock Exchange on August 26, 2026, which date is a date within five business days of the filing of this Registration Statement.</ffd:OfferingNote>
</xbrl>
