EditSafely

Convert Unary to Hex

Quickly convert unary numbers to hex numbers.

Runs on your device, nothing uploaded

Unary symbol
Separator
Try:

0 chars · 0 lines

Output

Quickly convert unary numbers to hex numbers.

Type or paste above to see the result here.

Example: Convert

What you paste never leaves this tab

Convert Unary to Hex is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, whatever you type in is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Convert Unary to Hex

  1. 1. Paste the unary tally. Enter a run of repeated symbols representing a value in base-1, such as a string of 1s or tally marks whose length encodes the number.
  2. 2. Set the Unary symbol. Tap the chip for the symbol your tally uses: 1, a stroke or a dot, or type your own. Characters that are not the symbol are ignored and a warning says how many. The Separator under More options keeps your spaces and line breaks by default.
  3. 3. Copy the hex value. The tool counts the symbols and reports the equivalent hex number. Copy the compact result once you have confirmed the tally count is correct.

When to use Convert Unary to Hex

Convert Unary to Hex counts a run of repeated tally symbols and reports the equivalent value in base-16. It is mostly a teaching aid for demonstrating how unary, the simplest possible number base, relates to a compact positional system like hex.

  • Grading a number systems homework problem. A student converted a tally mark count to hex by hand and you want a fast way to check whether the count and the resulting hex value both line up.
  • Reversing a novelty tally display. A playful counter or generator produced output as a string of repeated symbols and you want the compact hex value that same count represents.
  • Exploring base conversion concepts. You are curious how quickly a unary tally grows compared to hex and want to convert a long tally string back to see just how compact hex is by comparison.

Examples

Convert

Input

1111111111

Output

a

About the Convert Unary to Hex tool

Convert Unary to Hex does its work locally, right in the browser. Quickly convert unary numbers to hex numbers. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Hex Tools collection on EditSafely, a set of 108 small, focused Hex utilities that share the same instant, private workspace.

You can shape the output with 3 settings, including Unary symbol, Separator and Custom separator, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Convert Unary to Hex cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All Hex Tools →