---
title: console.groupEnd()
slug: Web/API/console/groupEnd
tags:
  - API
  - DOM
  - Debugging
  - Method
  - Web Development
  - web console
browser-compat: api.console.groupEnd
---
{{APIRef("Console API")}}

The **`console.groupEnd()`** method exits the current inline group in the [Web
console](/en-US/docs/Tools/Web_Console). See [Using groups in the
console](/en-US/docs/Web/API/console#using_groups_in_the_console) in the {{domxref("console")}} documentation for details and examples.

{{AvailableInWorkers}}

## Syntax

```js
console.groupEnd();
```

## Parameters

None.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
