<p>There currently isn't a setting to do this natively in Craft, but you might want to consider voting for some/all of <a href="http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9888675-see-the-field-handle-in-the-entry-type-edit-view" rel="nofollow">these</a> <a href="http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9260673-hover-over-cp-field-name-label-to-reveal-the-handl" rel="nofollow">feature</a> <a href="http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9233805-field-layout-designer-let-you-see-the-field-handle" rel="nofollow">requests</a>, which seem to be all along the same vein of what you're looking for.</p>

CC BY-SA 3.0
2015-12-31T07:35:41.070Z
That's exactly what I'm looking for! Voted for them both
kai
CC BY-SA 3.0
2015-12-31T07:33:34.737Z
2015-12-31T07:33:34.737Z
Brad Bell
<p>If you are comfortable with your browsers developer tools, one way to get the field handle from an entry page that doesn't require any third-party plugins is to inspect the <code>label</code> or <code>input</code> element:</p>

<p><a href="https://i.sstatic.net/GyX98.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GyX98.png" alt="Inspect Element"></a></p>

<p>The field handle appears:</p>

<ol>
<li>As the middle segment of the <code>id</code> attribute on the field's wrapper div</li>
<li>As the final segment of the <code>for</code> attribute on the field's label</li>
<li>As the final segment of the <code>id</code> attribute on the <code>input</code> element</li>
<li>Within the <code>fields[]</code> array on the input element's <code>name</code> attribute</li>
</ol>

<p><a href="https://i.sstatic.net/Vb7nQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Vb7nQ.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2015-12-31T08:15:33.680Z
2015-12-31T08:15:33.680Z
Ben Parizek
<p><strong>Original answer, for Craft 2:</strong></p>
<p>There's a plugin called <a href="https://github.com/mmikkel/CpFieldLinks-Craft" rel="nofollow noreferrer">CP Field Links</a> which will display field handles and provide easy access to field (and entry type) settings. Please note that the plugin requires <a href="https://craftcms.com/docs/config-settings#devMode" rel="nofollow noreferrer"><code>devMode</code></a> to be enabled.</p>
<p>I'm the plugin author, so just get in touch if you have any questions or spot any issues.</p>
<p><strong>Updated answer, for Craft 3</strong>:</p>
<p>Craft 3.5+ can show field handles in element edit forms natively. To display the handles, the user needs to be an admin, and the &quot;Show field handles in edit forms&quot; user preference needs to be enabled (just visit your user's profile inside the Craft CP to toggle the setting on).</p>
<p>CP Field Links has been renamed <a href="https://github.com/mmikkel/CpFieldInspect-Craft" rel="nofollow noreferrer">CP Field Inspect</a>, and is still relevant (as of Craft 3.7) as the native field handles still doesn't include links to field settings.</p>

CC BY-SA 4.0
2015-12-31T07:42:25.887Z
2021-09-30T19:28:56.983Z
2021-09-30T19:28:56.983Z
Mats Mikkel Rummelhoff
<p>As someone relatively new to Craft I'm constantly switching between a content type and <code>/admin/settings/fields</code> so that I can see the handles for that content type. It just occurred to me that it would be relatively simple to show the handle right next to the field's name on the edit content screen. Might there be a setting for this somewhere, or would I have to (or be able to) create a plugin to do this?</p>

<p>In case it's unclear, I'm looking to turn this</p>

<p><a href="https://i.sstatic.net/lRs9K.png" rel="noreferrer"><img src="https://i.sstatic.net/lRs9K.png" alt="enter image description here"></a></p>

<p>into this</p>

<p><a href="https://i.sstatic.net/zP7rl.png" rel="noreferrer"><img src="https://i.sstatic.net/zP7rl.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2020-11-05T12:43:59.360Z
This got delivered in Craft 3.5.4: [details here](https://github.com/craftcms/cms/issues/6610).
ianp
<plugin-development><control-panel>
Show field handles on control panel
# Show field handles on control panel

(Asked by: username_0 on 2015-12-31)

As someone relatively new to Craft I'm constantly switching between a content type and `/admin/settings/fields` so that I can see the handles for that content type. It just occurred to me that it would be relatively simple to show the handle right next to the field's name on the edit content screen. Might there be a setting for this somewhere, or would I have to (or be able to) create a plugin to do this?

In case it's unclear, I'm looking to turn this

[![enter image description here](https://i.sstatic.net/lRs9K.png)](https://i.sstatic.net/lRs9K.png)

into this

[![enter image description here](https://i.sstatic.net/zP7rl.png)](https://i.sstatic.net/zP7rl.png)

**Tags:** plugin-development, control-panel
> **Comments:**
> **username_1**: This got delivered in Craft 3.5.4: [details here](https://github.com/craftcms/cms/issues/6610).  

---

## 3 answers

### Answer by username_4 on 2015-12-31. Score: 7 | Accepted answer

**Original answer, for Craft 2:**

There's a plugin called [CP Field Links](https://github.com/mmikkel/CpFieldLinks-Craft) which will display field handles and provide easy access to field (and entry type) settings. Please note that the plugin requires [`devMode`](https://craftcms.com/docs/config-settings#devMode) to be enabled.

I'm the plugin author, so just get in touch if you have any questions or spot any issues.

**Updated answer, for Craft 3**:

Craft 3.5+ can show field handles in element edit forms natively. To display the handles, the user needs to be an admin, and the "Show field handles in edit forms" user preference needs to be enabled (just visit your user's profile inside the Craft CP to toggle the setting on).

CP Field Links has been renamed [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft), and is still relevant (as of Craft 3.7) as the native field handles still doesn't include links to field settings.


---

### Answer by username_2 on 2015-12-31. Score: 1

There currently isn't a setting to do this natively in Craft, but you might want to consider voting for some/all of [these](http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9888675-see-the-field-handle-in-the-entry-type-edit-view) [feature](http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9260673-hover-over-cp-field-name-label-to-reveal-the-handl) [requests](http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9233805-field-layout-designer-let-you-see-the-field-handle), which seem to be all along the same vein of what you're looking for.

> **Comments:**
> **username_0**: That's exactly what I'm looking for! Voted for them both  

---

### Answer by username_3 on 2015-12-31. Score: 1

If you are comfortable with your browsers developer tools, one way to get the field handle from an entry page that doesn't require any third-party plugins is to inspect the `label` or `input` element:

[![Inspect Element](https://i.sstatic.net/GyX98.png)](https://i.sstatic.net/GyX98.png)

The field handle appears:

1. As the middle segment of the `id` attribute on the field's wrapper div
2. As the final segment of the `for` attribute on the field's label
3. As the final segment of the `id` attribute on the `input` element
4. Within the `fields[]` array on the input element's `name` attribute

[![enter image description here](https://i.sstatic.net/Vb7nQ.png)](https://i.sstatic.net/Vb7nQ.png)


---

