The 222000 I-band light curves of variable stars detected by the OGLE-II survey (ftp://bulge.princeton.edu/ogle/ogle2/bulge_dia_variables) in the direction of the Galactic Bulge have been searched for eclipsing binaries (EBs). A previously developed code to analyze lightcurve shapes and identify long period variables (LPVs) has been adapted to identify EBs. The parameters in the modified code have been optimised to recover a list of about 140 detached EBs in the Small Magellanic Cloud previously identified in the literature as particularly well suited for distance estimates (and which have periods more than 0.85 days). The power of the code is demonstrated by identifying 16 and 178 previously uncatalogued EBs in the SMC and LMC, respectively. Among the 222 000 variable stars in the direction of the Galactic Bulge 3053 EBs have been identified. Periods and phased lightcurves are presented.