The present invention provides a novel nucleoside or nucleotide derivative, a racemate thereof, a stereoisomer, or a pharmaceutically acceptable salt thereof; And it relates to a pharmaceutical composition for the prevention or treatment of viral infection-related diseases comprising the same as an active ingredient.본 발명은 신규한 뉴클레오사이드 또는 뉴클레오타이드 유도체, 이의 라세미체, 입체이성질체 또는 이들의 약학적으로 허용가능한 염; 및 이를 유효성분으로 포함하는 바이러스 감염관련 질환의 예방 또는 치료용 약학적 조성물에 관한 것이다.