you are on the clearnet. the addresses listed here only open inside the tor network - download the tor browser here »
AlphaBay.Market
last update: 1 min ago 255 onions tracked
home / tools / text converter

text converter

the quick conversions people need constantly when dealing with pgp armor, hashes and links: plain text to base64, hex, base32 or url-encoding - and back again. everything runs locally in your browser, nothing you paste ever leaves this page. with javascript off the forms post to our server instead, where conversions run once in memory - never stored or logged.

1

encode

with javascript on, all four outputs update live while you type.

where should this run?

to reverse any of these, copy the output into the decode box below and pick the matching format.

2

decode

where should this run?

good to know

how is utf-8 handled?
text is converted to utf-8 bytes with the browser's TextEncoder before encoding. emoji, accents and non-latin scripts survive a round trip perfectly - decode what you encoded and you get the exact same characters back.
what is each format for?
base64 turns any bytes into copy-paste-safe text - that is what pgp armored blocks are wrapped in, plus email attachments and data urls. hex spells out each byte as two characters - the format of sha-256 checksums and pgp fingerprints. base32 is base64's hand-proofread cousin (no 0/1/8/9) - pgp fingerprints, tor onion addresses and 2fa secrets live here. url-encoding only escapes the characters that would break a link.
what is the base32 alphabet for?
this tool uses the standard rfc4648 alphabet: uppercase letters a-z plus digits 2-7, padded with = signs. dropping 0, 1, 8 and 9 avoids mix-ups with o, i, l and b when strings are read aloud or copied by hand. decoding accepts lower case too.
url-encoding vs base64?
url-encoding escapes just the characters that break links (?, &, =, spaces) and keeps the rest readable. base64 rewrites the entire payload into a fixed alphabet, which makes anything safe to put in headers or json - but unreadable. broken link means url-encoding; embedding binary in text usually means base64.