Home › Free tools › Number base converterNumber base converter Type a number in any of the four bases programmers use and see it in the other three, with the number of bits it needs. No size limit: it works on whole numbers of any length.
How it works Type the number. Say which base it is written in, or leave Auto. Press Convert and read all four forms. How does Auto work? A number starting with 0x is read as hexadecimal, 0b as binary, 0o as octal, and anything else as decimal.
Is there a maximum value? No. The conversion uses arbitrary-precision arithmetic, so a 256-bit hash converts exactly.
Does it handle fractions? No, whole numbers only. Negative numbers are written with a minus sign, not in two's complement.
Use it from ChatGPT, Claude or your own agent This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.
Fields value (text, required): Numberfrom ("auto" | "decimal" | "hex" | "binary" | "octal", optional): Written inA call that works POST https://orkosi.com/api/v1/public/tools/number-base-converter/run
Authorization: Bearer <api_key>
{
"input": {
"value": "0xFF",
"from": "auto"
}
} Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.
This tool as Markdown · Connect an AI assistant
More free tools PDF to Word — Turn a PDF into an editable .docx in seconds.Word to PDF — Export any .docx to a clean, shareable PDF.Bulk image resizer — Resize dozens of images at once, right in your browser.Image compressor — Shrink JPG, PNG and WebP files without visible loss.QR code generator — Brand-coloured QR codes as SVG or PNG.Colour palette from image — Extract a five-colour palette from any photo.Favicon generator — Every favicon size plus manifest from one image or letter.OG image maker — 1200×630 social cards from clean templates.AI brand name generator — Twenty memorable names with rationale and domain ideas.AI business idea validator — A candid scorecard: market, moat, risks, first experiments.Word counter — Words, characters, sentences and reading time of any text.Case converter — UPPER, lower, Title, camelCase, snake_case and more.URL slug generator — Clean, readable URL slugs from any title.Lorem ipsum generator — Placeholder text by paragraphs, sentences or words.Text diff checker — Compare two texts and see every added and removed line.Sort and dedupe lines — Sort a list, remove duplicates and empty lines.Markdown to HTML — Convert Markdown to clean HTML you can paste anywhere.Readability checker — Flesch reading ease, grade level and what to fix.Text cleaner — Strip HTML, extra spaces, curly quotes and line breaks.JSON formatter — Format, validate and minify JSON, with the error line.JSON to CSV — Turn a JSON array into a spreadsheet-ready CSV.CSV to JSON — Turn a CSV export into a JSON array.YAML to JSON converter — Convert YAML to JSON and JSON to YAML.Base64 encoder and decoder — Encode text to Base64 or decode it back.URL encoder and decoder — Percent-encode or decode a URL or a query value.URL parser — Split a URL into host, path and query parameters.HTML entity encoder — Escape text for HTML, or decode entities back.JWT decoder — Read the header, claims and expiry of a JSON Web Token.UUID generator — Random v4 or time-ordered v7 UUIDs, up to 100 at once.Hash generator — MD5, SHA-1, SHA-256 and SHA-512 of any text.Password generator — Strong random passwords with an entropy estimate.Unix timestamp converter — Epoch seconds to a date and back, in any time zone.Regex tester — Test a regular expression and see every match and group.Cron expression explainer — What a cron schedule means and when it runs next.IP subnet calculator — Network, mask, host range and size of a CIDR block.DNS lookup — A, AAAA, CNAME, MX, NS and TXT records of a domain.SPF, DKIM and DMARC checker — Can your domain's email be forged? Check in seconds.Meta tag generator — Title, description, Open Graph and X card tags in one block.UTM link builder — Campaign links that analytics tools can read.Robots.txt generator — A robots.txt with sitemap, blocked paths and AI crawler rules.XML sitemap generator — A valid sitemap.xml from a list of URLs.SERP snippet checker — See your title and description as a search result.FAQ schema generator — FAQPage JSON-LD from plain questions and answers.Keyword density checker — How often a keyword appears, and what the text is really about.Hreflang tag generator — Link the language versions of a page correctly.Email subject line tester — Score a subject line for length, clarity and spam words.Headline analyzer — Score a headline and see how to make it stronger.Social post length checker — Does your post fit X, LinkedIn, Instagram and the rest?Meta tag checker — Read the SEO and social tags of any live page.MRR and ARR calculator — Recurring revenue today and where churn and growth take it.Startup runway calculator — How many months of cash you have left.Break-even calculator — How many sales cover your costs.Profit margin calculator — Margin, markup and profit from cost and price.LTV to CAC calculator — Customer lifetime value, LTV:CAC ratio and payback.Churn rate calculator — Monthly churn, retention and what it costs over a year.ROI calculator — Return on investment, with the yearly rate.VAT calculator — Add VAT to a price, or take it out.Loan calculator — Monthly payment, total interest and yearly schedule.A/B test significance calculator — Is B really better, or is it chance?Percentage calculator — Percent of a number, share of a total, percent change.Freelance rate calculator — The hourly and day rate your target income needs.Ad metrics calculator — CTR, CPC, CPM, CPA and ROAS from campaign numbers.Startup dilution calculator — What a funding round leaves the founders with.Colour converter — HEX, RGB, HSL and CMYK of any colour.Colour contrast checker — WCAG contrast ratio of text on a background.Colour shades generator — A 50 to 950 scale from one brand colour.CSS gradient generator — Linear and radial gradients with the CSS to paste.Placeholder image generator — An SVG placeholder of any size, with your label.Email verifier — Is this address real, a typo or a throw-away? Checked in a second.Email list cleaner — Paste up to 200 addresses, get back the ones safe to send to.IP address lookup — Whose network is this IP on: a home line, a data centre or Tor?SSL certificate checker — Is the certificate trusted, and how many days until it expires?Domain age checker — When a domain was registered, when it expires and with whom.Website technology lookup — What a site is built with: CMS, framework, analytics, payments.