Whisk together flour, baking soda, and salt in a small bowl; set aside.
Beat butter, brown sugar, and granulated sugar in a stand mixer on medium-high until light and creamy, about 3 minutes.
Add eggs and vanilla, mix on low until combined, scraping bowl as needed.
Add flour mixture all at once, mix on low until just combined without overmixing.
Stir in chocolate chips until evenly mixed.
Refrigerate dough for 20 minutes while oven heats to 350°F / 177°C.
Lightly grease sheet pan or line with parchment paper or Silpat.
Scoop heaping tablespoons of dough (about golf ball size) onto pan, spacing apart.
Bake 9 to 12 minutes until edges are golden and centers are pale and soft.
Tap sheet pan firmly on counter to deflate cookies for crinkled edges.
Sprinkle tops with flaked sea salt if desired.
Cool on sheet pan for 5 minutes before transferring to rack to cool completely.
Store in sealed container at room temperature up to 3 days.