Display site UUID from module
"display" is pretty ambiguous, but you can get the site UUID like so:

$uuid = \Drupal::config('system.site')-&gt;get('uuid');


(depending on context, injecting the config.factory service would be preferable)

It's a string so rendering it will be easy.