こんなことを

this kind of thing

→ こんな
phrase Uncommon #8,413
this kind of thing こんな means “this kind of,” こと means “thing,” and を marks it as the object of an action.
JA: こんなことを言わないで。
EN: Don't say this kind of thing.

どうしてこんなことをしたの

Why did you do this?

— パンズ・ラビリンス (2006)

こんなことをいっても大した慰めにもなりませんが。

I know this probably isn't much consolation, but...

こんなことをするとは彼は馬鹿なことをしたものだ。

It was foolish of him to do such a thing.

なぜこんなことをするの?

Why are you doing this?

— エブリシング・エブリウェア・オール・アット・ワンス (2022)

「どうやってこんなことをするの?」と私は言った。

“How could you do something like this?” I said.

わたしただ・・・なんで、こんなことを聞くんだ?

I just... why am I asking something like this?

— ラ・ラ・ランド (2016)

なぜこんなことを…

Why would you do this…?

— シティ・オブ・ゴッド (2002)

彼は驚くべき土地の出身で、こんなことを当たり前だと思っている。

He comes from an amazing place and thinks this sort of thing is perfectly normal.

なぜ私はこんなことを?

Why am I doing this?

— Cosmic Princess Kaguya! (2026)

本当に心からこんなことを思った。

I truly felt this from the bottom of my heart.

何の権限で私にこんなことを命令するんですか?

What gives you the right to order me around like this?

誰がこんなことを?

Who would do something like this?

— Article 15 (2019)

こんなことを、どれくらいの頻度でできるだろう?

How often could we do something like this?

こんなことをしてくれるとは思わなかった

I never thought you'd do something like this.

— コーカサスの虜 (1996)

こんなことをするとは彼は馬鹿にちがいない。

He must be an idiot to do something like this.

なぜこんなことを?

Why would you do something like this?

— タイタニック (1997)

彼女を喜ばせるためにこんなことをしたのですか?

Did you do this to make her happy?

— ウィキッド 永遠の約束 (2025)

こんなことをしている時間がない。

I don't have time for this.

— ウィキッド 永遠の約束 (2025)

エンマなぜこんなことを?

Emma, why would you do this?

— 甘い生活 (1960)

君たちは学生なんだ、こんなことをやれるのは今だけだ。

You’re students—this is the only time in your lives you’ll be able to do something like this.