01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - In a medium bowl, whisk together flour, baking powder, and salt until well blended.
03 - In a large bowl, beat butter and sugar together until light and fluffy, approximately 2-3 minutes.
04 - Add eggs one at a time, beating thoroughly after each addition. Blend in vanilla and almond extract until fully incorporated.
05 - Gradually incorporate dry ingredients into wet mixture, mixing until just combined. Avoid overmixing.
06 - Divide dough in half. On a lightly floured surface, shape each portion into a 12-inch by 2-inch log.
07 - Transfer logs to prepared baking sheet, leaving space between them. Flatten slightly and sprinkle with coarse sugar if desired. Bake for 25-28 minutes until lightly golden and set.
08 - Remove from oven and let cool for 10 minutes. Reduce oven temperature to 300°F.
09 - Using a sharp serrated knife, slice logs diagonally into 3/4-inch pieces. 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 throughout.
11 - Cool completely on wire rack. Drizzle with melted white chocolate if desired. Allow chocolate to set before serving.