hconvert binary string to int in java code example Example: binary string to int java int decimal=Integer.parseInt(binaryString,2);