William Allan of Glen JP (1788–1868) was a 19th-century Scottish merchant who served as Lord Provost of Edinburgh from 1829 to 1831.