Prep your pan and oven. Heat the oven to 350°F (175°C).
Line an 8x8-inch pan with parchment, leaving overhang for easy lifting. Lightly grease the sides.
Make the crust. In a bowl, mix 2 cups almond flour, 1/3 cup granulated keto sweetener, a pinch of salt, and 6 tablespoons melted butter. Stir until it looks like damp sand and holds together when pressed.
Press and pre-bake. Spread the crust into the pan and press firmly into an even layer.
Prick a few times with a fork. Bake 12–15 minutes until lightly golden at the edges. Set aside while you make the filling.
Whisk the filling. In a clean bowl, whisk 4 large eggs until smooth.
Add 3/4 cup granulated keto sweetener, 1/2 cup fresh lemon juice, 1–2 teaspoons lemon zest, 1 teaspoon vanilla (optional), a pinch of salt, and 1 tablespoon coconut flour (or 2 tablespoons almond flour). Whisk until no clumps remain.
Pour and bake. Pour the filling over the warm crust. Return to the oven and bake 18–22 minutes.
The center should be just set with a slight wobble—no liquidy jiggle.
Cool completely. Let the bars cool in the pan on a rack. Then chill at least 2 hours. This helps the filling firm up for clean slices.
Dust and slice. Lift out with the parchment, dust lightly with powdered keto sweetener if you like, and slice into squares or rectangles with a sharp knife.
Wipe the blade between cuts for tidy edges.