01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - Whisk together flour, baking powder, and salt in a medium bowl.
03 - Beat butter and sugar in a large bowl until light and fluffy, about 2-3 minutes.
04 - Add eggs one at a time, beating well after each addition. Mix in vanilla and almond extract.
05 - Gradually add dry ingredients to wet ingredients, mixing until just combined.
06 - Divide dough in half. Shape each half into a 12-inch by 2-inch log on a lightly floured surface.
07 - Transfer logs to prepared baking sheet. Flatten slightly. Sprinkle with coarse sugar if desired. Bake for 25-28 minutes until lightly golden.
08 - Remove from oven and cool for 10 minutes. Reduce oven temperature to 300°F.
09 - Slice logs diagonally into 3/4-inch pieces using a sharp serrated knife. Arrange slices cut side down on baking sheet.
10 - Bake for 12-15 minutes, flip biscotti, then bake an additional 10-12 minutes until crisp and golden.
11 - Cool completely on a wire rack. Drizzle with melted white chocolate if desired. Allow chocolate to set before serving.