<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0607</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2026-03-25</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001734722</issuerCik>
        <issuerName>UiPath, Inc.</issuerName>
        <issuerTradingSymbol>PATH</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002127293</rptOwnerCik>
            <rptOwnerName>Malpani Raghavendra</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O UIPATH, INC., ONE VANDERBILT AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2>60TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10017</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>CPO &amp; CTO</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>248437.00</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>143704.00</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>63868.00</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>43118.00</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Includes 248,437 Restricted Stock Units (RSUs) granted July 8, 2024. Each RSU represents a contingent right to receive one share of the Issuer's Class A Common Stock upon settlement. The RSUs vest over three years with 18.2% on October 1, 2024, 9.1% on January 1, 2025, and April 1, 2025, then 7.95% in equal quarterly installments thereafter, in each case, subject to continuous service through each vesting date.</footnote>
        <footnote id="F2">Includes 143,704 RSUs granted March 14, 2025. Each RSU represents a contingent right to receive one share of the Issuer's Class A Common Stock upon settlement. The RSUs vest 1/12 per quarter in equal quarterly installments over the next three years, in each case, subject to continuous service through each vesting date.</footnote>
        <footnote id="F3">On March 14, 2025, the Reporting Person was granted restricted stock units, the vesting of which was subject to both performance-based and service-based criteria (&quot;PSUs&quot;). The number of shares reported represents the number of PSUs that were earned as a result of the achievement of such performance criteria on February 25, 2026. The earned PSUs will vest over 3 years with 33 and 1/3% of the shares vesting on April 1, 2026, and 1/12 of the shares vesting quarterly thereafter through April 1, 2028, in each case, subject to continuous service through each vesting date.</footnote>
        <footnote id="F4">Represents shares of Class A Common Stock beneficially owned by the Reporting Person, including shares acquired upon prior vesting and settlement of equity awards.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Brad Brubaker, as Attorney-in-Fact</signatureName>
        <signatureDate>2026-04-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
