[Edit]+0-0js convert string to booleanAdnaan-Robin724Copy1 2 3 4 var text = 'true'; var value = (text == 'true'); console.log(value); // true