Bitwise Calculator — AND, OR, XOR, Shift
Perform bitwise operations (AND, OR, XOR, NOT, shifts) on integers with binary and hex output.
How it works
- 1Enter your values in the fields above
- 2Click "Calculate" — all math runs in your browser
- 3View your results instantly
What to do next
About Bitwise Calculator
Bitwise Calculator runs the developer utility job locally inside your browser. Perform bitwise operations (AND, OR, XOR, NOT, shifts) on integers with binary and hex output. The work happens on your machine, the result is generated on your machine, and the page exposes the controls you need to drive it without burying them in menus.
The engine behind the page is standard browser APIs. It reads your file in-memory and writes the result back into the browser. For 0 MB and below the work usually completes in seconds; larger files mostly depend on how much spare RAM your device has.
Bitwise Calculator is shaped for the gap between "I'll do it by hand" and "I'll script it." When the job is small enough that automating it would take longer than doing it, but annoying enough to want a focused tool — that is the situation this page is built for.
The architecture is local-first by design. Once the page is loaded, you can disconnect from the network and the tool still completes the job. The processing stack — standard browser APIs and the small UI shell wrapping it — ships with the page itself, so the tool keeps working in offline conditions, on a captive-portal Wi-Fi, or behind a corporate proxy that limits what the tab can reach.
Constraints worth knowing about: inputs are capped at 0 MB to keep memory usage in a sensible range, one input is processed per run, and the tool must be loaded over HTTPS for the in-browser engine to work. These are properties of the architecture.
Bitwise Calculator fits naturally next to several adjacent tools. Common companions include Byte ↔ Bit Converter, File Size Converter, ASCII Table Reference, and Unicode Table — combine them when the job needs more than one transformation. After running Bitwise Calculator, many users move on to Byte ↔ Bit Converter and File Size Converter. Each tool is a separate page so you can compose the exact pipeline you need.
Bitwise Calculator fits naturally into the workflow of backend developers inspecting requests and QA engineers writing repro cases, both of whom typically need a fast result inside the browser. There is no learning curve to budget for: anyone who has used a typical web upload form can complete a run on the first try.
Output handling is intentionally boring: Bitwise Calculator produces a single output file and triggers your browser's standard "save" behaviour. If you have a default download folder configured, that is where it will land. There is no Favtoo-side history of jobs you have run.
Bitwise Calculator is built around steady iteration on a small set of options rather than feature creep. Every additional setting attracts a slightly different audience, but a long settings panel makes the common case slower for everyone. The current controls reflect what users of the tool actually use.
Bitwise Calculator is one example of a broader pattern: utility software increasingly works as single-page, client-side experiences. Every page in the catalog is shaped that way, which keeps each tool fast to load and easy to recommend in a single link.
Pro tip: Bitwise Calculator works just as well in a private/incognito window as in a normal one, which is occasionally useful when you want zero browser-history footprint of the job. Another tip: if the tool ever feels slow, it is almost always because the browser tab is competing for CPU with another tab — pausing or closing the heavy ones gives the engine room to work.
Bitwise Calculator is built around the moment of need: a focused page you open when you have a specific task, complete the task, and close. The catalog contains many adjacent tools so the same model serves the surrounding parts of a typical developer utility workflow.
For most failure modes, refreshing the page and re-running the job is enough — the engine has no persistent state to corrupt. If the same input fails twice in a row, the input itself is most likely the problem (a truncated file, an unexpected variant of the format, or a stream the engine does not recognise).
That is the whole tool. Use Bitwise Calculator for as long as it stays useful to you, and if it does, the catalog has many more tools built the same way. Each applies the same single-purpose discipline, so the way you used this page transfers to the next one you try.
How it works
- 1Open Bitwise Calculator in your browser. The page loads quickly and the tool is ready to use the moment it becomes interactive.
- 2Add your developer input by dropping it onto the page or browsing for it.
- 3Pick any non-default settings you need. Most users leave the defaults alone for the first run and only revisit if the result needs tuning.
- 4Trigger processing. standard browser APIs reads your input, applies the transformation, and writes the result back into the page.
- 5Download the result. The file is generated in your browser and saved through your normal download flow.
- 6Run additional jobs as needed. The same controls and defaults apply on every run.
Common use cases
- Generate a quick fixture without leaving the browser using Bitwise Calculator.
- Compare two API responses to spot a regression.
- Format a noisy log line into something a teammate can read.
- Hash a string for a quick reproducibility check.
- Inspect a payload during local development without writing a script.
- Decode a token to confirm its claims during a debugging session.
- Convert between data formats while wiring up an integration.
- Generate boilerplate from a single specification line.
- Encode binary content for transport in a JSON body.
- Inspect a regex against a test string before committing it.
FAQ
How many bits?
JavaScript uses 32-bit signed integers for bitwise operations; unsigned right shift treats as unsigned.
Negative numbers?
Negative integers use two's complement representation as in JavaScript.
Floating point?
Decimal values are truncated to integers before the bitwise operation.
Private?
Yes — calculations run locally.
Binary output format?
Binary is shown as unsigned (>>> 0) to display all 32 bits for negative results.
Large numbers?
Numbers beyond 32-bit range may produce unexpected results due to JS bit truncation.
Is it safe to use Bitwise Calculator on confidential files?
Your file is processed inside your browser by standard browser APIs. The engine reads the file's bytes from your tab's memory, computes the result, and writes the result back into the tab. You can confirm what the page does by opening developer tools and watching the Network tab during a run — the requests you see are for the tool's static assets only.
Does Bitwise Calculator work in Safari, Firefox, Chrome and Edge?
Bitwise Calculator works in any modern browser released in the last few years — Chrome, Edge, Firefox, Safari, Brave, Arc and the major Chromium derivatives are all supported. The underlying engine relies on widely-supported web APIs, so there is nothing exotic to install. If you are on a very old browser version and the tool fails to load, updating to the latest release of your preferred browser is the only fix needed.
Can Bitwise Calculator run inside a corporate firewall?
Bitwise Calculator is a static page running an open-source engine in your browser, so a typical corporate firewall does not get in the way as long as it allows JavaScript to load from Favtoo. For teams that need to host it themselves on an internal network, the underlying engine (standard browser APIs) is open-source and can be packaged into a private build with the same behaviour. Reach out via the Contact page if that is something you are exploring.
Will Bitwise Calculator keep working in a year?
Bitwise Calculator is updated whenever the underlying engine releases an improvement or a bug fix. Because the tool is delivered as a static page, every visit fetches the latest version automatically — there is no "version" to manage on your end. If a particular release ever changes default behaviour, the change is documented on Favtoo's changelog so you can confirm what shifted.
How long does Favtoo retain my data after using Bitwise Calculator?
Favtoo keeps no copy of your file because Favtoo never receives your file. Bitwise Calculator runs entirely in your browser, the input is held only in your tab's memory, and closing the tab discards it. There is no opt-in cloud history, no "recent jobs" panel synced to an account, and no server-side retention to configure — the architecture simply has nowhere for your file to be stored.
Can I use Bitwise Calculator for commercial work?
Bitwise Calculator can be used for personal and commercial work alike — there is no separate "business" licence to purchase. The output you generate is yours to use however you want, including in client deliverables, internal documents, or commercial products. Favtoo's only ask is fair, individual use; the tool is not designed to be embedded as a backend service or wrapped behind an API for resale.
Which file formats does Bitwise Calculator accept?
The accepted formats are listed in the upload area on the tool itself. If your input is in a format that is not directly supported, convert it first using one of Favtoo's converter tools — every Favtoo converter outputs a file that is a clean input to the next tool in the chain.
Can I call Bitwise Calculator from a script?
Bitwise Calculator is a browser-only tool by design and does not expose a hosted API. The reason is the same as the privacy story: there is no Favtoo backend doing the work, so there is no service to call. If you need to script the same transformation, the underlying engine (standard browser APIs) is open-source and can be used directly from your own code.