I would like to render a JavaScript bigint value to a string in scientific notation. I thought of Number.toExponential() but it only works for numbers. Answer Intl does support Bigint: Turns out BigInt.prototype.toLocaleString() can be used with an options for scientific-notation: Original answer: (This code is still useful for JS environments without Intl support or if you need more than