Remove URL from Tag

get_the_tags codex page says

The following example displays the tag name of each tag assigned to
the post (this is like using the_tags(), but without linking each tag
to the tag view, and using spaces instead of commas):

<?php $posttags = get_the_tags();
if ($posttags) {
  foreach($posttags as $tag) {
    echo $tag->name . ' '; 
  }
} ?>

ever tried that? 🙂