(CNN) Grab the Kleenex, because it sounds like "Toy Story 4" will have you blubbering.

Tom Hanks, who has voiced Sheriff Woody, the sweet animated cowboy in the beloved Pixar franchise since 1995, said fans need to brace themselves when it all comes to an end in just a few weeks.

During an appearance on "The Ellen DeGeneres Show" on Wednesday , Hanks revealed that Tim Allen, who voices Buzz Lightyear, warned him before he went in to record his lines that it was going to be a tear-jerker.

"This is the end of the series and I had gotten some texts from Tim Allen. These texts that say, 'Have you recorded yet? Have you been in? Have you had a session yet?'" Hanks told DeGeneres. "I said, 'No, not yet.' [Allen says] 'Wait until you see those last pages. Tough one, tough one.'"

Hanks added, "And it was! The last few sessions we're saying goodbye to Woody and Buzz and Bonnie's room and Andy and everybody."

Read More