To describe the diet and feeding ecology of Hemiramphus far (H. far) through investigating the stomach contents. Methods: Sampling of total 430 individuals of H. far was carried out from commercial catches landed at West Wharf fish harbor of Karachi coast, Pakistan during January-December 2010. The total length and weight of each individual were recorded. Samples were parted into Group 1 (15-20 cm, n = 240) and Group 2 (21-26 cm, n = 190), to estimate changes in diet with fish size. To remove alimentary canal, fishes were dissected and kept into 10% formalin. Then gut contents were examined under a light microscope for each intestine. Stomach fullness as well as dietary composition was ascertained from gut contents. Examination and analyses were conducted using frequency of occurrence and numerical method. Results: The examination confirmed 47.67% stomach as empty. Furthermore, our study revealed that the diet of H. far consists of fishes, isopods, ostracods, Daphnia, shells, algae, unidentified plants and animal materials. This study proved that H. far is an omnivorous fish feeding on fishes, isopods, shells, algae and plant and animal originated different food items. According to the Schoener overlap index, there was no significant difference in feeding of the two length groups of H. far (C = 0.833). In addition, the Shannon-Wiener index presented that in Group 1, the prey diversity of the halfbeak was lower (H = 0.90) than that of Group 2 (H = 1.02). Conclusions: The findings of the present study would be very effective for sustainable management of black-barred halfbeak fishery in the Karachi coast of Pakistan and the surrounding ecosystems.