I will never forget the first time I used Google Earth Engine. I had spent years doing what every remote sensing analyst did: searching for satellite scenes, downloading gigabytes, mosaicking tiles, correcting, clipping, and waiting for my computer to finish. Then, in front of a colleague, I typed about ten lines of code and asked for a vegetation index of an entire region, built from every suitable image of a whole season. It appeared on the map within seconds. No downloads. No waiting. My colleague asked me if I had cheated. I had simply let someone else’s computers do the work.
That is the central idea of Google Earth Engine, usually shortened to GEE or Earth Engine: you bring the code, and the cloud brings the data and the computing power. In this guide I’ll explain what it is, how it thinks, how to get access, and how to write your first analysis, step by step. No prior programming experience is required, though some curiosity helps.

What Is Google Earth Engine?
Google Earth Engine is a cloud platform for planetary-scale geospatial analysis. It combines three things:
- A huge catalog of data, including decades of satellite imagery (Landsat, Sentinel, MODIS and many more), climate and weather data, elevation models, land cover maps and other geospatial datasets, all stored and ready to use.
- A massive pool of computing power that processes that data in parallel, in Google’s data centers.
- Programming interfaces (JavaScript and Python) and a web-based Code Editor to control everything.
Instead of downloading data and processing it on your computer, you write instructions, and Earth Engine executes them where the data lives.
Is it free? Is it open source?
Earth Engine has been free for non-commercial use, such as research, education and non-profit work, and offers commercial licensing for business use. The details of plans, registration requirements and quotas change over time, so read the current terms on the official Earth Engine website before you start. Also note that Earth Engine is not open source: it is a proprietary service, though its client libraries are publicly available. If open-source tools are a priority for you, see Best Free and Open-Source GIS Tools.
What Is It Good For?
Earth Engine shines for problems that are big in space or time.
- Land cover and land use mapping over large regions.
- Vegetation monitoring with indices such as NDVI over years or decades.
- Change detection: deforestation, urban growth, surface water change, burned areas.
- Time series analysis of climate and environmental variables.
- Flood, drought and fire mapping.
- Agriculture: crop monitoring and yield studies.
- Statistics by region: the mean or sum of a variable for each administrative unit.
- Producing maps and datasets for others to use.
It is less suitable for tasks needing detailed cartographic layouts, interactive editing of features, or workflows with strict data confidentiality. Many analysts use Earth Engine for the heavy raster computation, then export results to QGIS or ArcGIS for final mapping. The concepts behind imagery appear in Remote Sensing Basics for GIS Users.
Getting Access
The process changes occasionally, but the logic is usually:
- Sign in with a Google account.
- Register for Earth Engine on the official website, choosing the appropriate use: non-commercial or commercial.
- Create or select a cloud project, which Earth Engine uses for registration and quotas. Newer access flows require a project.
- Wait for approval, which is usually quick for standard registrations.
- Open the Code Editor, the browser-based environment, or set up the Python API.
Follow the current on-screen instructions, as the exact steps evolve.
Meet the Code Editor
The Code Editor is a web interface, and the easiest place to start. It has:
- A script editor in the center, where you write code.
- A map at the bottom, where results display.
- A Console tab, where printed output and charts appear.
- A Tasks tab, for exports that run in the background.
- A search bar, where you can look up datasets and see their documentation and example code.
- Script and asset managers on the left, for saving your work and uploading your own data.
- A Docs tab, listing all available functions.
Spend time with the dataset catalog in the search bar. Each dataset page tells you what it contains, its resolution, its bands, its dates and how to load it.
The Core Concepts
Earth Engine has a few ideas that, once understood, make everything else fall into place.
Objects: the nouns
- Image: a single raster, possibly with several bands.
- ImageCollection: a stack of images, such as every Sentinel-2 scene of a year.
- Geometry: a point, line or polygon.
- Feature: a geometry with properties (attributes).
- FeatureCollection: a set of features, like a layer of administrative boundaries.
- Reducer: a method that summarizes many values into one, such as mean, median, sum, minimum, maximum or histogram.
- Number, String, List, Dictionary, Date: the usual data types, in Earth Engine versions.
These parallel what you know from GIS: images are rasters, feature collections are vector layers. See Vector vs. Raster Data: The Complete Guide if the distinction is new to you.
Server-side vs. client-side: the idea that trips everyone
This is the most important concept. When you write ee.Image(...) or ee.Number(...), you aren’t creating the data in your browser. You are creating a description of a computation, which will be executed on Google’s servers. That’s server-side. Plain JavaScript or Python objects, such as an ordinary number or a normal list, exist on your computer. That’s client-side.
Practical consequences:
- Don’t mix them carelessly. Use Earth Engine functions on Earth Engine objects.
- Avoid ordinary
forloops over Earth Engine collections. Use.map(), which sends the operation to the server for each element at once. - Avoid forcing results to your computer (with
getInfo()) except for small values. It blocks and can time out. print()in the Code Editor handles the server request for you, so it is the friendly way to look at results.
Lazy evaluation
Earth Engine doesn’t compute anything until a result is actually needed, such as when you display a layer, print a value or start an export. This makes it efficient, and it means errors may appear only at the end.
Scale and projection
Rasters have a scale (pixel size in meters) and a projection. In Earth Engine, you usually don’t reproject by hand: computations happen at the scale of the output you request, such as the map’s zoom level or the scale you give when exporting or reducing. Always specify the scale when summarizing or exporting, and use the native resolution of the data when you can. For the broader topic of coordinate systems, see Coordinate Reference Systems (CRS) Explained Simply.
Your First Script: A Vegetation Map of a Region
Let’s build a real analysis: a summer NDVI (vegetation index) map from Sentinel-2 imagery. The code below uses the JavaScript Code Editor. Paste it into a new script and run it.
Step 1: Define your area of interest
// A rectangle: west, south, east, north (replace with your own area)
var aoi = ee.Geometry.Rectangle([2.0, 48.7, 2.6, 49.0]);
Map.centerObject(aoi, 10);You can also draw a polygon with the map tools, or load a boundary from your own assets.
Step 2: Load and filter the imagery
var s2 = ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED')
.filterBounds(aoi)
.filterDate('2024-06-01', '2024-09-01')
.filter(ee.Filter.lt('CLOUDY_PIXEL_PERCENTAGE', 20));
print('Number of images:', s2.size());Three filters narrow millions of images to the ones you need: where (bounds), when (dates) and quality (cloud cover). The printed number appears in the Console. Always check it. Zero means a filter is too strict or a name is wrong.
Step 3: Mask clouds and shadows
Even with a cloud filter, individual pixels can be cloudy. Sentinel-2 surface reflectance comes with a Scene Classification (SCL) band that labels pixels. This function removes cloud shadow, medium and high probability clouds and thin cirrus:
function maskS2(image) {
var scl = image.select('SCL');
var mask = scl.neq(3) // cloud shadow
.and(scl.neq(8)) // cloud, medium probability
.and(scl.neq(9)) // cloud, high probability
.and(scl.neq(10)); // thin cirrus
return image.updateMask(mask);
}
var clean = s2.map(maskS2);Note the use of .map(), which applies the function to every image on the server.
Step 4: Create a composite
var composite = clean.median().clip(aoi);The median of all images, pixel by pixel, is a classic way to build a clear, cloud-free picture from many observations. This is a reducer in action: many images are reduced to one.
Step 5: Calculate NDVI
var ndvi = composite.normalizedDifference(['B8', 'B4']).rename('NDVI');NDVI compares near-infrared (band B8) and red (band B4) reflectance. Healthy vegetation reflects strongly in near-infrared and absorbs red, giving high values.
Step 6: Display the results
Map.addLayer(composite, {bands: ['B4', 'B3', 'B2'], min: 0, max: 3000}, 'True color');
Map.addLayer(ndvi, {min: 0, max: 0.8, palette: ['white', 'yellow', 'green']}, 'NDVI');Run the script. You will see a true-color image and an NDVI layer you can toggle in the map. The min and max values control how values are stretched into colors. Adjust them and see the effect.
Step 7: Get a number
var stats = ndvi.reduceRegion({
reducer: ee.Reducer.mean(),
geometry: aoi,
scale: 10,
maxPixels: 1e9
});
print('Mean NDVI:', stats.get('NDVI'));reduceRegion summarizes the image over an area. Notice the scale of 10 meters (the native resolution of the bands used) and maxPixels, which guards against accidentally huge computations.
Step 8: Export the result
Export.image.toDrive({
image: ndvi,
description: 'ndvi_summer_2024',
region: aoi,
scale: 10,
maxPixels: 1e9
});Run the script, open the Tasks tab and click Run next to the export. The result lands in your Google Drive as a GeoTIFF, ready to open in QGIS or ArcGIS.
Congratulations: you have just processed a whole summer of satellite data without downloading a single scene.
A Peek at Python
If you prefer Python, or want to integrate Earth Engine with the rest of your data science tools, the Python API (the earthengine-api package) uses almost the same logic. After installing it, authenticate and initialize:
import ee
ee.Authenticate() # opens a browser window the first time
ee.Initialize(project='your-cloud-project')
aoi = ee.Geometry.Rectangle([2.0, 48.7, 2.6, 49.0])
s2 = (ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED')
.filterBounds(aoi)
.filterDate('2024-06-01', '2024-09-01')
.filter(ee.Filter.lt('CLOUDY_PIXEL_PERCENTAGE', 20)))
print(s2.size().getInfo())Notice the differences: Python uses parentheses and chained calls, and needs .getInfo() to bring a value to your computer. Libraries such as geemap make working with maps and notebooks even more pleasant. For the wider Python toolkit, see Geospatial Development & Automation: The Ultimate Guide.
Other Things You Can Do Next
Once the first script works, here are natural steps to explore.
- Time series charts: chart NDVI for a point or region across months or years.
- Summaries by polygon: use
reduceRegionswith a FeatureCollection of boundaries to get a table of statistics per district. - Change detection: subtract one year’s composite from another and map the difference.
- Classification: train a classifier (such as Random Forest) with labeled samples, and map land cover. See AI and Machine Learning in GIS for the concepts and pitfalls.
- Upload your own data: use the Assets tab to bring in shapefiles or rasters.
- Build an app: the Code Editor lets you create interactive web apps with sliders and buttons.
- Use other datasets: Landsat for long time series, MODIS for daily coverage, elevation models, precipitation and many more.
Common Beginner Errors and How to Read Them
Earth Engine’s error messages become friendly once you know their patterns.
- “Computation timed out” or “User memory limit exceeded.” You asked for too much at once. Reduce the area, the date range or the resolution, simplify the process, or break it into pieces and export.
- “Image.select: Band pattern … did not match any bands.” The band name is wrong. Print the image, and read the band list.
- “Collection query aborted” or an empty collection. Your filters returned nothing. Print
.size()after each filter. - “Too many concurrent aggregations.” Too many heavy operations at once. Simplify or use exports.
- Layers look black or white. Your visualization
minandmaxdon’t match the data range. Print statistics and adjust. - Mixing client-side and server-side code, such as a regular
iforforon Earth Engine values. Use server-side functions likeee.Algorithms.Ifand.map(). - Forgetting scale in
reduceRegionor export. Always set it. - Outdated dataset names. Datasets are sometimes replaced by newer versions. The catalog page shows the current identifier and any deprecation notice.
Good Habits
- Start small: a small area and a short period, then scale up.
- Print often, to confirm sizes, band names and values.
- Filter early: by bounds, date and metadata before doing expensive work.
- Comment your code. Explain what and why.
- Save scripts in the repository, and use meaningful names.
- Keep track of dataset versions and dates for reproducibility.
- Validate your results against other sources, imagery or field knowledge. A beautiful map isn’t automatically a correct one.
- Respect the terms of use and quotas, and cite the datasets you use.
- Export what you need and document it, in the spirit of Metadata in GIS: Why It Matters and How to Create It.
Strengths and Limits
Strengths
- No downloading or local storage for huge datasets.
- Enormous computing power, free for qualifying non-commercial work.
- A vast, curated data catalog.
- Fast prototyping, with maps appearing in seconds.
- A large community, with abundant examples and tutorials.
- Easy export to common formats.
Limits
- Not open source, and dependent on Google’s terms and services.
- A learning curve around server-side thinking and code.
- Quotas and limits on computation and memory.
- Not ideal for cartography or feature editing.
- Data confidentiality: uploading sensitive data to a cloud service requires thought.
- Terms and access rules change, so check them regularly.
Final Thoughts
Earth Engine changed what a single analyst can do. Questions that once demanded a research team and a computing cluster, such as how has the vegetation of this country changed over thirty years, can now be answered by one person with a laptop and a few dozen lines of code. That is a profound shift, and it carries a responsibility to check our results as carefully as we compute them.
My advice for beginners: run the script in this guide, then change one thing at a time. A different area. A different month. A different index. Each experiment teaches you how the platform thinks. In a few weeks, you will be writing analyses that would have been impossible a generation ago.
Where to go next: strengthen your foundations with Remote Sensing Basics for GIS Users, and see how Earth Engine fits among other tools in Best GIS Software in 2026: Complete Comparison.



