Sample code for 30+ languages & platforms
AutoIt

Base62 Encoding and Decoding

Demonstrates base62 encoding and decoding.

Chilkat AutoIt Downloads

AutoIt
$oBd = ObjCreate("Chilkat.BinData")

; Base62 encode.
$oBd.AppendString("hello world","utf-8")
Local $sBase62_encoded = $oBd.GetEncoded("base62")
ConsoleWrite("hello world --> " & $sBase62_encoded & @CRLF)

; Output: 
; hello world --> AAwf93rvy4aWQVw

; Base62 decode
$oSb = ObjCreate("Chilkat.StringBuilder")
$oSb.DecodeAndAppend("AAwf93rvy4aWQVw","base62","utf-8")
ConsoleWrite("decoded: " & $oSb.GetAsString() & @CRLF)

; Output:
; decoded: hello world