<?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/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:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001734722</identifier>
        </entity>
        <period>
            <startDate>2026-03-25</startDate>
            <endDate>2026-03-25</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001734722</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-25</startDate>
            <endDate>2026-03-25</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001734722</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-25</startDate>
            <endDate>2026-03-25</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usdPerShare">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="rate">
        <measure>utr:Rate</measure>
    </unit>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-26">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-27">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-28">0001734722</dei:EntityCentralIndexKey>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-29">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="c-3" id="f-30">false</ffd:PrevslyPdFlg>
    <ffd:SubmissnTp contextRef="c-1" id="f-1">S-8</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c-1" id="f-2">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">UiPath, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Class A Common Stock, par value $0.00001 per share, 2021 Equity Incentive Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-6">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-7" unitRef="shares">26851842</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c-2"
      decimals="4"
      id="f-8"
      unitRef="usdPerShare">11.4500</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-9" unitRef="usd">307453590.9</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="7" id="f-10" unitRef="rate">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-11" unitRef="usd">42459.34</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="c-3" id="f-12">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-3" id="f-13">Class A Common Stock, par value $0.00001 per share, 2021 Employee Stock Purchase Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-3" id="f-14">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-3" decimals="0" id="f-15" unitRef="shares">5370368</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c-3"
      decimals="4"
      id="f-16"
      unitRef="usdPerShare">9.7325</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-3" decimals="2" id="f-17" unitRef="usd">52267106.56</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-3" decimals="7" id="f-18" unitRef="rate">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-3" decimals="2" id="f-19" unitRef="usd">7218.09</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-20" unitRef="usd">359720697.46</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-21" unitRef="usd">49677.43</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-22" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-23" unitRef="usd">49677.43</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-24">Pursuant to Rule 416(a) promulgated under the Securities Act of 1933, as amended, this Registration Statement shall also cover any additional shares of the Registrant&#x2019;s Class A common stock that become issuable under the Registrant&#x2019;s 2021 Equity Incentive Plan (the &#x201c;Incentive Plan&#x201d;) by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected that results in an increase to the number of outstanding shares of the Registrant&#x2019;s Class A common stock. The amount registered represents an automatic annual increase equal to 5.0% of the total number of shares of the Registrant&#x2019;s Class A common stock and Class B common stock outstanding on January 31 of the preceding fiscal year, which annual increase is provided by the Incentive Plan. The proposed maximum offering price per unit and proposed maximum aggregate offering price are estimated solely for the purpose of calculating the amount of the registration fee pursuant to Rule 457(c) promulgated under the Securities Act. The proposed maximum offering price per share and the proposed maximum aggregate offering price are calculated using the average of the high and low prices of the Registrant's Class A common stock as reported on the New York Stock Exchange on March 24, 2026.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-3" id="f-25">Pursuant to Rule 416(a) promulgated under the Securities Act of 1933, as amended, this Registration Statement shall also cover any additional shares of the Registrant&#x2019;s Class A common stock that become issuable under the Registrant&#x2019;s 2021 Employee Stock Purchase Plan (the &#x201c;ESPP&#x201d;) by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected that results in an increase to the number of outstanding shares of the Registrant&#x2019;s Class A common stock. The amount registered represents an automatic increase equal to 1.0% of the total number of shares of the Registrant&#x2019;s Class A common stock and Class B common stock outstanding on January 31 of the preceding fiscal year, which annual increase is provided by the ESPP. The proposed maximum offering price per unit and proposed maximum aggregate offering price are estimated solely for the purpose of calculating the amount of the registration fee pursuant to Rule 457(c) promulgated under the Securities Act. The proposed maximum offering price per share and the proposed maximum aggregate offering price are calculated using the average of the high and low prices of the Registrant's Class A common stock as reported on the New York Stock Exchange on March 24, 2026, multiplied by 85%, which is the percentage of the price per share applicable to purchases under the ESPP.</ffd:OfferingNote>
</xbrl>
