# Autocapitalise the sentences

**URL:** <https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803>\
**Category:** Help\
**Created:** [May 19, 2026, 1:19pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803 "2026-05-19T13:19:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![muthukumaran](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@muthukumaran](https://forums.ankiweb.net/u/muthukumaran)\
**Post date:** [May 19, 2026, 1:19pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/1 "2026-05-19T13:19:07Z")

</div>

how to autocapitalise in anki.. ?? any ideas? add ons??

There is a link for autocapitalise in forum but its going to autohotkey.. I dont have that much computer skills.. kindly help..

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [May 19, 2026, 4:19pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/2 "2026-05-19T16:19:45Z")

</div>

What do you want to capitalize?

- The first letter of a paragraph?
- The first letter of a sentence?
- The first letter of each word?
- Every letter of every word?
- …

You could probably do that using basic javascript in your card templates.

**Edit:** you actually answered that in your title. Sorry about that. But in this case: Do you want to capitalize every sentense on your card or just the first one?

---

<div class="post-metadata">

**Author:** ![muthukumaran](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@muthukumaran](https://forums.ankiweb.net/u/muthukumaran)\
**Post date:** [May 19, 2026, 4:41pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/3 "2026-05-19T16:41:22Z")

</div>

every 1st letter of a sentence..pls.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [May 19, 2026, 4:55pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/4 "2026-05-19T16:55:00Z")

</div>

The simplest option is to just type the characters correctly. Anki isn’t a word-processing program, so you shouldn’t expect it to auto-correct your typing for you.

---

<div class="post-metadata">

**Author:** ![eroscard](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/eroscard/32/22632_2.png) [@eroscard](https://forums.ankiweb.net/u/eroscard)\
**Post date:** [May 19, 2026, 5:48pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/5 "2026-05-19T17:48:12Z")

</div>

Select the text and use the shortcut Ctrl+Shift+L.

[https://ankiweb.net/shared/info/2045403514](https://ankiweb.net/shared/info/2045403514)

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [May 19, 2026, 5:52pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/6 "2026-05-19T17:52:32Z")

</div>

You could use javascript in your card template. E.g. like this:

```html
<div id=front>{{Front}}</div>

<script>
	var front = document.getElementById("front");
	front.innerHTML = front.innerHTML.replace(/(^|[.!?]\s)(\w)/g, function(first_letter) {
		return first_letter.toUpperCase();
	});
</script>

```

It transforms

> this is a sentence. yet another sentence here. and one more for good measure.

into

> This is a sentence. Yet another sentence here. And one more for good measure.

To understand the regex, I suggest you go to [https://regexr.com/](https://regexr.com/) and paste `/(^|[.!?]\s)(\w)/g`.

---

<div class="post-metadata">

**Author:** ![muthukumaran](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@muthukumaran](https://forums.ankiweb.net/u/muthukumaran)\
**Post date:** [May 19, 2026, 11:56pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/7 "2026-05-19T23:56:42Z")

</div>

thank u 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 18, 2026, 11:57pm UTC](https://forums.ankiweb.net/t/autocapitalise-the-sentences/69803/8 "2026-06-18T23:57:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
