Earth Engine is introducing noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. All noncommercial projects will need to select a quota tier by April 27, 2026 or will use the Community Tier by default. Tier quotas will take effect for all projects (regardless of tier selection date) on April 27, 2026. Learn more.
ee.Image.rename
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
The Image.rename function changes the names of the bands in an image.
It returns the image with the renamed bands.
The new names for the bands must be provided as a list of strings or a series of string arguments, and the number of new names must match the number of bands in the image.
Rename the bands of an image.
Returns the renamed image.
Usage
Returns
Image.rename(var_args)
Image
Argument
Type
Details
this: image
Image
The Image instance.
var_args
List[String]|Object|VarArgs[String]
The new names for the bands. Must match the number of bands in the Image.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-08 UTC."],[],["The core functionality is to rename the bands of an image using the `Image.rename()` method. This method takes either a list or a series of string arguments as new band names. The number of new names provided must match the existing number of bands. The method returns the image with the updated band names. Examples demonstrate renaming bands of a Sentinel-2 image in both JavaScript and Python, using both a list and individual string arguments.\n"]]