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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2025-12-18</periodOfReport>

    <dateOfOriginalSubmission>2025-12-18</dateOfOriginalSubmission>

    <notSubjectToSection16>false</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001855767</rptOwnerCik>
            <rptOwnerName>Dines Daniel</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <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>true</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>true</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>CEO and Chairman</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-12-18</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>0.00</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>9615297.00</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnote</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">The shares are held by Ice Vulcan Holding Limited. IceVulcan Investments Ltd. is the sole shareholder of Ice Vulcan Holding Limited, and Mr. Dines is the sole shareholder of IceVulcan Investments Ltd. Mr. Dines retains sole voting and investment power with respect to the shares of Class A Common Stock and Class B Common Stock held by Ice Vulcan Holding Limited.</footnote>
        <footnote id="F2">The indirect beneficial ownership of 9,615,297 shares held by Ice Vulcan Holding Limited (an entity controlled by the reporting person) existed as of the reporting period of the prior Form 4 filed on December 18, 2025, and was inadvertently omitted. These holdings are reported herein to correct that omission and reflect total beneficial ownership as of the date of the previously filed Form 4. No transaction occurred on such date related to these holdings.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Brad Brubaker, Attorney-in-Fact</signatureName>
        <signatureDate>2025-12-23</signatureDate>
    </ownerSignature>
</ownershipDocument>
