# Converting to ints in js You can convert strings to an integer in [[JavaScript|js]] using the `parseInt()` method: ```js let phrase = '13'; let num = parseInt(phrase); ```