FormatCalc library

Text & encoding
without the noise.

Encode, decode, count, clean, and reshape text for development or publishing work. Encoding changes representation rather than secrecy, so Base64, binary, and hexadecimal output should never be treated as encryption. Choose a tool below to get started—no account required.

T

Text to Base64

Encode plain text to Base64 locally.

B

Base64 to Text

Decode Base64 safely in your browser.

T

Text to Base32

Encode UTF-8 text as portable RFC 4648 Base32 locally.

B

Base32 to Text

Decode RFC 4648 Base32 into UTF-8 text in your browser.

T

Text to Base64URL

Encode UTF-8 text using URL-safe, unpadded Base64.

B

Base64URL to Text

Decode URL-safe Base64 into UTF-8 text.

B

Base64 to Hex

Convert Base64-encoded bytes into hexadecimal.

H

Hex to Base64

Convert hexadecimal bytes into Base64.

B

Base64 to Binary

Convert Base64-encoded bytes into eight-bit binary groups.

B

Binary to Base64

Convert eight-bit binary bytes into Base64.

F

File to Base64

Convert a small local file to Base64 without uploading it.

B

Base64 to File

Turn a Base64 string into a downloadable file locally.

U

URL Encoder

Encode text for a URL query parameter.

U

URL Decoder

Decode URL-encoded text with one click.

H

HTML Entity Encoder

Encode special characters for safe HTML display.

H

HTML Entity Decoder

Decode HTML entities back to regular text.

U

Unicode Escape Encoder

Convert text characters to JavaScript-style \uXXXX escapes.

U

Unicode Escape Decoder

Decode \uXXXX and \u{...} sequences back to text.

T

Text to ASCII Codes

Convert ASCII text into space-separated decimal character codes.

A

ASCII to Text

Convert decimal ASCII character codes back to text.

T

Text to Binary

Encode text as UTF-8 binary bytes.

B

Binary to Text

Decode 8-bit UTF-8 binary bytes back to text.

T

Text to Hex

Encode text as space-separated UTF-8 hexadecimal bytes.

H

Hex to Text

Decode UTF-8 hexadecimal bytes back to text.

D

Decimal to Binary

Convert a whole decimal number to binary.

B

Binary to Decimal

Convert a binary whole number to decimal.

H

Hex to Decimal

Convert a hexadecimal whole number to decimal.

D

Decimal to Hex

Convert a whole decimal number to hexadecimal.

O

Octal to Decimal

Convert an octal whole number to decimal.

D

Decimal to Octal

Convert a whole decimal number to octal.

R

ROT13 Encoder / Decoder

Apply the ROT13 substitution cipher to text.

T

Text to Morse Code

Translate letters and numbers into International Morse code.

M

Morse Code to Text

Decode International Morse code into readable text.

S

Slug Generator

Create a clean, lowercase URL slug from any title.

T

Title Case Converter

Convert text into readable title case.

S

Snake Case Converter

Convert text into developer-friendly snake_case.

C

Camel Case Converter

Convert text into lower camelCase.

K

Kebab Case Converter

Convert text into URL-friendly kebab-case.

P

Pascal Case Converter

Convert text into UpperCamelCase.

W

Word Counter

Count words, characters, sentences, and reading time.

C

Character Counter

Count characters with and without spaces.

D

Duplicate Line Remover

Keep only the first instance of each line.

W

Whitespace Remover

Remove extra spaces, tabs, and blank lines from text.

L

Line Sorter

Sort pasted lines alphabetically and remove the clutter.

T

Text Case Converter

Convert text to upper, lower, title, or sentence case.