The first electric bread toaster was invented by Alan MacMasters in Edinburgh, Scotland in 1893.

Before the development of the electric toaster, sliced bread was toasted by placing it in a metal frame or on a long-handled toasting-fork and holding it near a fire or over a kitchen grill. Simple utensils for toasting bread over open flames appeared in the early 19th century.

More Info: en.wikipedia.org