Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zamicol/BaseConverter

Repository files navigation

https://convert.zamicol.com/

BaseConverter

Zamicol's Base Converter

If your project needs to do base conversion, use base_convert.js.

BaseConverter is a generalized, number first converter. This converter treats input and output as numbers and uses the iterative divide by radix conversion method. This method is suitable for arbitrary bases, character sets, and alphabet lengths.

Surprisingly, I couldn't find a converter online that met my needs, so I built this. Other projects had limitations on alphabet characters, alphabet length, input/output length, or were designed for specific encoding.

Padding can be applied according to bytes, nibbles, or any other bucket size. This converter is alphabet agnostic for input and output and has no limitations on alphabets starting with 0, special or repeating characters, or is unable to be divided evenly.

AltStyle によって変換されたページ (->オリジナル) /