How Jewish surnames began
Jewish surnames reflect a long history of migration. Many Ashkenazi Jews of Central and Eastern Europe were required to take fixed surnames by Austrian, Prussian and Russian laws between 1787 and the 1840s, and chose names from places, trades, Hebrew personal names, and pleasant "ornamental" German words such as Rosenberg (rose mountain) and Goldstein (gold stone). Sephardi Jews, whose families came from Spain and Portugal, often carry Spanish, Portuguese or Arabic names.
Some names are very old: Cohen and Levy mark descent from the ancient priestly and Levite families of Israel.
How the names work
Ashkenazi names often end in "-man(n)", "-berg", "-stein", "-feld" or "-witz", or are formed from a mother's or father's name (Rivkin from Rivka). Many families changed or shortened their names after emigrating to the United States, Britain, South America or Israel; in Israel many adopted Hebrew surnames. A surname alone does not show whether a family is Jewish, since many of these names are shared with non-Jewish families.