In the 1830s, in the small Danish town of
Odense,
cobbler Hans Christian Andersen spends his day spinning fairy tales for the village children. One day, the stern schoolmaster implores the
Burgomaster and councilmen to curtail the cobbler's habit of distracting the students with his storytelling. Hans finally returns to his shop, where his teenage assistant, the orphan Peter, begs him to stop causing trouble. When the children do not arrive at school the next day, the schoolmaster deduces that Hans is again distracting his pupils. When the schoolmaster then demands that the Burgomaster and the councilmen choose between him and the cobbler, they decide that Hans must leave Odense. Peter tries to save his friend by suggesting they travel to
Copenhagen. After a sea voyage, Hans and Peter arrive at the city's harbor and find their way to the Great Square of Copenhagen. When Hans introduces himself to the crowd while standing on a statue of the king, police arrest him for defaming the image of their leader. Peter, who has sought refuge from the police by hiding by the back entrance of the Royal Theatre, overhears choreographer Niels demand that a company producer send for a cobbler and asks them to free his friend from jail. Hans sees a lonely young girl outside his jail cell window and offers to introduce her to his companion. By drawing on his thumb, Hans creates a puppet he calls
Thumbelina and brings a smile to the girl's face. Soon Hans is bailed out of jail by the theater company and taken to the theater, where he becomes entranced by the beauty and talent of a Royal Danish Ballet dress rehearsal. When Niels ridicules lead ballerina Doro's performance, she in turn complains that her shoes need adjusting. Doro gives the slippers to Hans, who is immediately smitten with the ballerina. Peter learns that Niels and Doro are a happily married couple, despite their theatrical quarrels. Hans resists the idea and writes a love letter to Doro in the form of a fable called
The Little Mermaid, in which he tells her that she has chosen the wrong man. That night while Peter surreptitiously reads the letter, a gust of wind whisks it from his hands and carries it into the theater, where a stage doorman delivers it to Doro. The next day, the entire ballet company sets off on their annual tour, leaving Hans bereft, but he soon finds comfort entertaining a new group of children with his stories. One day, Lars, a sad boy with a shaved head, remains behind after the other children tease him. Hans tells him the story of an
ugly duckling who is ostracized by his peers until he becomes a handsome swan. When not with the children, Hans counts the days by making pair after pair of brightly colored satin slippers for his absent ballerina. One day, Hans receives an invitation from the Gazette newspaper office, where Lars's father, the publisher, thanks Hans for helping his son overcome his difficulties and offers to publish
The Ugly Duckling in the newspaper. Overjoyed by the news, Hans asks that his credit be changed from "Hans, the cobbler" to "Hans Christian Andersen" and runs down the street singing his full name with pride. That evening, when the ballet company returns, Doro tells Hans that they have created a ballet based on his story
The Little Mermaid, which Hans believes is a sign of her love for him. The next evening, Peter warns Hans that Doro will humiliate him. Disappointed by his friend's attitude, Hans suggests that they part ways and leaves for the opening of the new ballet. When Hans tries to deliver Doro's slippers backstage, Niels locks the insistent writer in a closet to prevent him from disrupting the performers. While Hans listens to the music and dreams of his story, the performance opens on stage. The morning after the ballet, Doro sends for Hans and discovers that he is in love with her and has misunderstood her relationship with Niels. Niels interrupts their conversation and insults Hans by offering to pay him for
The Little Mermaid. Hans refuses Niels's offer and claims that his writing was a fluke. Doro accepts the slippers Hans made for her and allows him to leave, upset that she has unwittingly broken the heart of such a kind and gifted man. On the road to Odense, Hans meets Peter and renews their friendship. Upon reaching town, Hans is greeted as a celebrity and regales the citizens, including the schoolmaster, with his now famous moral tales. ==Cast==