---
title: strings.ToUpper
description: Returns the given string, converting all characters to uppercase.
categories: []
keywords: []
action:
  aliases: [upper]
  related:
    - functions/strings/FirstUpper
    - functions/strings/Title
    - functions/strings/ToLower
  returnType: string
  signatures: [strings.ToUpper INPUT]
aliases: [/functions/upper]
---

```go-html-template
{{ upper "BatMan" }} → BATMAN
```
