---
id: "execcommand"
kind: "web-feature"
canonical: "https://timetostable.com/feature/execcommand"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# execCommand() (`execcommand`)

The document.execCommand() method reads and writes from the clipboard and performs editing commands on editable text, such as changing the font name or style. Related methods check whether commands are supported, enabled, or applied.

- **Group**: Clipboard
- **Baseline**: Limited Availability
- **Specification**: https://w3c.github.io/editing/docs/execCommand/
- **Constituent BCD keys**: 10

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 1.3 | 2005-04-15 |
| Safari on iOS | 1 | 2007-06-29 |
| Chrome | 1 | 2008-12-11 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |
| Firefox | 69 | 2019-09-03 |
| Firefox for Android | 79 | 2020-07-28 |

