The significant wave height and period in the South Coast of Yogyakarta were used to calculate the potential electrical energy generated using Oscillating-water-column (OWC) system. This system would be positioned in areas where ocean waves do not break during the lowest tides. Changes in bathymetry would affect changes in the height of waves and help determine the breaking waves' location. Electrical energy resulting from ocean wave energy conversion using the OWC system was used to determine hydrogen production's potential, possibly generated using the seawater electrolysis method. Pantai Baron (Gunung Kidul) and Pantai Baru (Bantul), located in Yogyakarta, Indonesia, were studied in terms of their properness to place the OWC system. Three points in each of the locations will be compared using the Analytical Hierarchy Process (AHP) method. The factors involved were the potential of hydrogen gas production, the OWC location suitability, potential disasters, the environment, and socio-economy. Pantai Baron is an ideal location for producing hydrogen gas using the electrolysis method utilizing electrical energy converted from ocean wave energy using the OWC system. The potential for hydrogen gases that can be produced is 640 kilograms per year.