You probably should rethink your request...
Maxima stores numbers in binary. They are not "converted".
But you do have a choice of reading characters and writing characters
which represent a textual version of the number as it would appear
printed in different bases.
You can output in different bases in common lisp (read about "format"
strings),
in one line of code.
You don't need maxima.