Why you don't explore such an obvious approach to improving usability as various graphical representations of onion addresses? It works for security verification codes in WhatsApp, Telegram etc., it should also work for onion addresses.
More information about formatting options
Drupal Design and Maintenance by New Eon Media
Drupal Development by Chapter Three