The white supremacist who stabbed to death a black man recounted the disturbing crime in a chilling confession video played for the first time Thursday in Manhattan court.

In the disturbing footage, James Jackson, 30, acts out the March 20, 2017, racially motivated murder for detectives in an interview room at the Midtown South Precinct.

He had just turned himself in to police.

Jackson, in a matter-of-fact tone, said he spotted Tim Caughman, 66, hunched over a garbage can on Ninth Avenue and plunged the knife into his back.

In the video, Jackson stands up and mimes the way he thrust the 18-inch sword, with two hands on the hilt, into Caughman’s back.

“It was a downward stab. He freaked the f—k out and started screaming. He scared the hell out of me,” Jackson tells the detectives in the videotaped interview. “So I stabbed him a couple more times in the chest.”

Jackson then lies on the ground and shows detectives how a terrified Caughman put his hands up to try to protect himself. The Army vet then allegedly stabbed him two or three times in the chest.

The sword’s tip was now bent. “I guess I put a little too much energy into it,” he says callously on the tape.

At one point, Detective Joseph Barbara asks whether Jackson felt remorse for what he did. “No,” he answers. “He’s a homeless black guy.” Caughman was a lifelong New Yorker and avid autograph hound.

Jackson allegedly traveled from Baltimore to the Big Apple with the sole purpose of killing blacks and picked the city for maximum media exposure.

He was particularly angered by black men mixing with white women, he says in the footage.

Jackson allegedly stalked more than two dozen people looking for the right target before settling on the can-and-bottle collector.

After the brutal slaying, he planned to murder more innocent victims in Times Square. “That guy was a practice guy,” he says of Caughman. “I was going for something a bit bigger.”

But Jackson turned himself in before following through on the murderous rampage. The videos were played during a hearing in Manhattan Supreme Court to determine what evidence will be admitted at the trial.