Context: Markarian (Mrk) galaxies, revealed due to their ultraviolet excess are very famous; they play a significant role in many astrophysical problems and come in a variety of types: Seyferts (Sys), low-ionization narrow emission-line regions (LINERs), starbursts (SBs), blue compact dwarf galaxies (BCDGs), as well as some quasars (QSOs) and blazars. They also appear as sources of non-optical radiation, such as gamma-ray, X-ray, ultraviolet (UV), infrared (IR), and radio, including some extremely high-energy gamma-ray sources (Mrk 421, Mrk 501) and very high-luminosity IR galaxies (Mrk 231). Aims: The classifications of Mrk galaxies for activity types have been carried out based on old mostly poor-quality and inhomogeneous spectra (relatively low-resolution photographic spectra and low S/N spectra). The Sloan Digital Sky Surveys (SDSS) provides sim 90$<!PCT!>$ of the existing medium-resolution spectra, and is a relevant homogeneous database for classification of galaxies. Our aim was to obtain homogeneous classifications of Mrk galaxies by means of the SDSS spectra. Methods: Based on our work on the classification of newly revealed objects from various recent catalogs, we developed a fine classification scheme for activity types based on the homogeneous database of the SDSS spectroscopy. This scheme was applied to Mrk galaxies having spectra in the SDSS (779 out of 1544, 50.45$<!PCT!>$). Results: As a result, 779 Mrk galaxies now have homogeneous optical spectral classification that can be used for further studies and statistics of their physical and spatial properties. We revealed 2 QSOs, 49 classical Seyferts (broad-line Seyferts 1, BLS1s), 17 narrow-line Seyferts 1 (NLS1s), 4 Sy2s, 12 LINERs, 11 active galactic nuclei (AGN) without a definite type, 31 Composite spectrum objects, and 533 HII/Starbursts. Due to low-quality spectra, some objects were left without definite activity types and were classified as emission or absorption galaxies.