TXT · Text & Data tools

Decimal to Octal Converter

Input
Output (Octal)
Go To Full Number Base Converter

Convert decimal integers (base 10) to their octal representation (base 8). This streamlined variant forces batch processing on, letting you map large lists of base 10 values at once.

Paste your decimal values into the input pane. The converted octal outputs update live on the right.

Supported formatting

Valid inputs use digits 0-9 along with optional leading signs (+ or -). Underscores and internal spaces are stripped automatically, so numbers formatted like 12 345 are perfectly fine. Decimals or scientific notations will return an error.

Batch processing

Batch mode handles each line independently. An error on one line won’t halt conversion for the rest. Any blank lines are ignored or mirrored cleanly, keeping your output perfectly aligned with your input.

Octal output

The tool calculates standard base 8 values using digits 0-7. Outputs are provided raw without a 0o prefix. Negative signs are carried over directly from the input.

Frequently Asked Questions

Yes. Use a leading minus sign (−) or plus sign (+) and the sign is preserved in the output.

Yes. This variant runs in batch mode by default: paste one decimal integer per line and get one octal result per line.

This page converts decimal input. If you want to paste octal values with prefixes like 0o755, use the full Number Base Converter and set the input base to Octal.

This converter is for integers only. Values like 3.14, 1e6, or 12,345 aren’t supported as decimal input.

No.

Try one of our format-specific converters below

Full Number Base Converter tool

Explore Our Tools

Browse all tools