Octal to Decimal
Convert base-eight integers to exact decimal digits.
Try this example
Convert the example with its 0o prefix and check that the decimal result ends in 993.
0o400000000000000001Expected result
9007199254740993Octal accepts 0–7. An 8 or 9 is an error, even if the rest of the input is valid.
Related walkthrough · Check JSON and export a reliable CSV
DTool Team
Product Team
We build simple, reliable browser tools that make everyday digital work faster.