Exhibit 5.1

 

LOGO

Nicole C. Brookshire

T: +1 212 479 6157

nbrookshire@cooley.com

April 19, 2021

UiPath, Inc.

90 Park Avenue, 20th Floor

New York, NY 10016

Ladies and Gentlemen:

We have acted as counsel to UiPath, Inc., a Delaware corporation (the “Company”), in connection with the filing by the Company of a Registration Statement (No. 333-254738) on Form S-1 (the “Registration Statement”) with the Securities and Exchange Commission, including a related prospectus filed with the Registration Statement (the “Prospectus”), covering an underwritten public offering of up to 27,474,393 shares of the Company’s Class A common stock, par value $0.00001 per share (the “Shares”), which consists of (i) up to 13,000,000 Shares to be sold by the Company (including up to 3,583,616 Shares that may be sold by the Company pursuant to the exercise of an option to purchase additional Shares granted to the underwriters) (collectively, the “Company Shares”) and (ii) 14,474,393 Shares to be sold by the selling stockholders identified in such Registration Statement (the “Stockholder Shares”).

In connection with this opinion, we have (i) examined and relied upon (a) the Registration Statement and the Prospectus, (b) the Company’s Restated Certificate of Incorporation and Amended and Restated Bylaws, each as currently in effect, (c) the forms of the Company’s Amended and Restated Certificate of Incorporation and Amended and Restated Bylaws, filed as Exhibits 3.2 and 3.4 to the Registration Statement, respectively, each of which is to be in effect prior to the closing of the offering contemplated by the Registration Statement and (d) originals or copies certified to our satisfaction of such records, documents, certificates, memoranda and other instruments as in our judgment are necessary or appropriate to enable us to render the opinion expressed below and (ii) assumed that (a) the Shares will be sold at a price established by the Board of Directors of the Company or a duly authorized committee thereof and (b) the Amended and Restated Certificate of Incorporation referred to in clause (i)(c) is filed with the Delaware Secretary of State before issuance of the Shares.

We have assumed the genuineness of all signatures, the authenticity of all documents submitted to us as originals, the conformity to originals of all documents submitted to us as copies, the accuracy, completeness and authenticity of certificates of public officials; and the due authorization, execution and delivery of all documents by all persons other than by the Company where authorization, execution and delivery are prerequisites to the effectiveness thereof. As to certain factual matters, we have relied upon a certificate of an officer of the Company and have not independently verified such matters.

Our opinion is expressed only with respect to the General Corporation Law of the State of Delaware. We express no opinion to the extent that any other laws are applicable to the subject matter hereof and express no opinion and provide no assurance as to compliance with any federal or state securities law, rule or regulation.

On the basis of the foregoing, and in reliance thereon, we are of the opinion that (i) the Company Shares, when sold and issued against payment therefor as described in the Registration Statement and the Prospectus, will be validly issued, fully paid and non-assessable and (ii) the Stockholder Shares have been validly issued and are fully paid and non-assessable, except with respect to Stockholder Shares that are to be sold by certain selling stockholders upon the conversion of outstanding preferred stock and Class B common stock of the Company in accordance with their terms, which will be validly issued, fully paid and non-assessable upon such conversion.

Cooley LLP    55 Hudson Yards    New York, NY    10001-2157

t: (212) 479-6000 f: (212) 479-6275 cooley.com


LOGO

UiPath, Inc.

April 19, 2021

Page Two

 

We consent to the reference to our firm under the caption “Legal Matters” in the Prospectus included in the Registration Statement and to the filing of this opinion as an exhibit to the Registration Statement.

 

Sincerely
Cooley LLP
By:  

/s/ Nicole C. Brookshire

  Nicole C. Brookshire

 

 

Cooley LLP    55 Hudson Yards    New York, NY    10001-2157

t: (212) 479-6000 f: (212) 479-6275 cooley.com