The production of nanoparticles as thin film coating performed with electrodeposition method is easier and cheaper than other methods. Because, thin film production can be controlled with the change of ingredients in the bath composition. In this study, Co, Ni, and CoNi alloy thin films were fabricated with electrodeposition method through the bath composition that consists of cobalt sulphate (CoSO4.7H2O), nickel sulphate (NiSO4.6H2O), nickel (II) chloride (NiCl2 6H2O) and boric acid (H3BO3). Crystal structure (XRD), morphological (SEM), elemental composition (ICP) and magnetic properties (VSM) of the fabricated thin films were investigated. Chemical properties of coating bath (CV) was examined as well. Magnetization measurements of the thin films were performed by applying magnetic fields between + 75000 Oe and -75000 Oe and then hysteresis loops were obtained. The Co, Ni, and CoNi films showed ferromagnetic material properties. Coercivity (Hc), permanent magnetization (Mr), saturation magnetization (Ms) values of these alloys were significantly affected by the amount of the cobalt, magneto crystal anisotropy and grain size. It was understood that some materials having hard and soft magnetic properties can be fabricated by controlling the bath composition.