Converting Decimal to Binary Java July 15, 2022 by Tarik Integer.toBinaryString() is an in-built method and will do quite well.