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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-09-03</periodOfReport>

    <notSubjectToSection16>false</notSubjectToSection16>

    <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>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-09-03</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1125000.00</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1721106.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Includes 1,125,000 performance-based restricted stock units (PSUs).  Each PSU represents a contingent right to receive one share of the Issuer's Class A Common Stock (the &quot;Common Stock&quot;) upon settlement.</footnote>
        <footnote id="F2">The PSUs are subject to the achievement of two stock price hurdles, measured based on the trailing average of the closing price per share of the Common Stock, as reported on the New York Stock Exchange, over a period of 90 consecutive trading days. 33% of the PSUs are subject to one stock price hurdle, which may be achieved during the three-year measurement period ending July 31, 2029. 67% of the PSUs are subject to a higher stock price hurdle, which may be achieved during the five-year measurement period ending July 31, 2031, in each case subject to continuous service through the applicable achievement date. The service-based vesting requirement is satisfied as to 1/12th of each tranche on the first day of each calendar quarter over the three-year period following the grant date, subject to continuous service through each vesting date.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Brad Brubaker, Attorney-in-Fact</signatureName>
        <signatureDate>2026-09-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
