Exhibit 5.1

601 Lexington Avenue
New York, New York 10022-4611
| | | | |
To Call Writer Directly: 212-446-4800 | | www.kirkland.com | | Facsimile: (212)446-4900 |
November 7, 2018
Grubhub Inc.
111 West Washington Street
Suite 2100
Chicago, IL 60602
Ladies and Gentlemen:
We are acting as special counsel to Grubhub Inc., a Delaware corporation (the “Company”), in connection with the filing by the Company of a Registration Statement on FormS-8 (the “Registration Statement”) under the Securities Act of 1933, as amended (the “Act”), with the Securities and Exchange Commission (the “Commission”) covering the offering of up to 91,338 shares of common stock, par value $0.0001 per share, of the Company (the “Plan Shares”) pursuant to the Tapingo Ltd. - 2011 Option Plan, effective as of October 9, 2011, and subsequently amended on May 30, 2012 and April 20, 2014 (the “Plan”).
For purposes of this letter, we have examined such documents, records, certificates, resolutions and other instruments deemed necessary as a basis for this opinion, and we have assumed the authenticity of all documents submitted to us as originals, the conformity to the originals of all documents submitted to us as copies and the authenticity of the originals of all documents submitted to us as copies.
Based upon and subject to the foregoing qualifications, assumptions and limitations and the further limitations set forth below, we advise you that the Plan Shares are duly authorized and when (i) the Registration Statement related to the Plan Shares becomes effective under the Act and (ii) the Plan Shares have been duly issued pursuant to and in accordance with the terms and conditions of the Plan and the Company’s Amended and Restated Certificate of Incorporation and Amended and Restated Bylaws, the Plan Shares will be validly issued, fully paid andnon-assessable.
Our opinions expressed above are subject to the qualifications that we express no opinion as to the applicability of, compliance with, or effect of any laws except the General Corporation Law of the State of Delaware.
Beijing Boston Chicago Dallas Hong Kong Houston London Los Angeles Munich Palo Alto SanFrancisco Shanghai Washington, D.C.