Sir William Miller, 2nd Baronet, Lord Glenlee, FRSE FSSA (1755–1846) was a Scottish advocate, judge, and landowner.