Template literals to normal strings

Paste your code here and convert template literals to normal strings easily.

Your code (w/ template literals)

Generated code (w/ normal strings)

 

Why template strings?

Template literals are determined with backtick character (`). It allows multi-line strings and easy combining variables, expressions and strings.

Why not template strings?

Although its ease of use, they aren't supported on archaic browsers (like Internet Explorer). If you are forced to develop something that needs to be compatible with IE (for example) you either use polyfill (I didn't find any for template literals) or rewrite whole code.

JS ES6 template to normal strings

To save your time you can use this template literals-to-normal strings converter. It works fully in your browser using JavaScript.

Before proceeding: keep in mind that this tool isn't ideal. It can either create a 1:1 working code or fry your PC (it's not that serious...). Always double-check the code it throws.

See also


@swiatekf361 - 2026